First commit for private source control. Older commits available on Github.
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace NaughtyAttributes.Test
|
||||
{
|
||||
public class ShowNonSerializedFieldTest : MonoBehaviour
|
||||
{
|
||||
#pragma warning disable 414
|
||||
[ShowNonSerializedField]
|
||||
private ushort myUShort = ushort.MaxValue;
|
||||
|
||||
[ShowNonSerializedField]
|
||||
private short myShort = short.MaxValue;
|
||||
|
||||
[ShowNonSerializedField]
|
||||
private uint myUInt = uint.MaxValue;
|
||||
|
||||
[ShowNonSerializedField]
|
||||
private int myInt = 10;
|
||||
|
||||
[ShowNonSerializedField]
|
||||
private ulong myULong = ulong.MaxValue;
|
||||
|
||||
[ShowNonSerializedField]
|
||||
private long myLong = long.MaxValue;
|
||||
|
||||
[ShowNonSerializedField]
|
||||
private const float PI = 3.14159f;
|
||||
|
||||
[ShowNonSerializedField]
|
||||
private static readonly Vector3 CONST_VECTOR = Vector3.one;
|
||||
#pragma warning restore 414
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user