This repository has been archived on 2024-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
snakeinabox/Assets/NaughtyAttributes/Scripts/Test/NonSerializedProperties.cs
2020-07-09 11:41:01 -07:00

25 lines
514 B
C#

using NaughtyAttributes;
using UnityEngine;
public class NonSerializedProperties : MonoBehaviour
{
#pragma warning disable 414
[ShowNonSerializedField]
private int myInt = 10;
[ShowNonSerializedField]
private const float PI = 3.14159f;
[ShowNonSerializedField]
private static readonly Vector3 CONST_VECTOR = Vector3.one;
#pragma warning restore 414
[ShowNativeProperty]
public Transform Transform
{
get
{
return this.transform;
}
}
}