pixelgon/Assets/NaughtyAttributes/Scripts/Test/Label.cs
2020-06-05 11:54:36 -07:00

28 lines
523 B
C#

using UnityEngine;
using NaughtyAttributes;
using UnityEngine.AI;
public class Label : MonoBehaviour
{
[Label("A Short Name")]
public string aMoreSpecificName;
[Label("RGB")]
public Vector3 vectorXYZ;
[Label("Agent")]
public NavMeshAgent navMeshAgent;
[Label("Ints")]
public int[] arrayOfInts;
[Label("Custom Class")]
public MyClassExample myClass;
[System.Serializable]
public class MyClassExample
{
public int aInt;
public string aString;
}
}