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/Label.cs
2020-07-09 11:41:01 -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;
}
}