You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CrowdControl/Assets/Plugins/NaughtyAttributes/Scripts/Test/ShowNonSerializedFieldTest.cs

34 lines
731 B
C#

1 month ago
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
}
}