EnumLabelExample.cs 266 B

12345678910111213141516
  1. using UnityEngine;
  2. public class EnumLabelExample : MonoBehaviour
  3. {
  4. public enum Example
  5. {
  6. [EnumLabel("テスト")]
  7. HIGH,
  8. [EnumLabel("その2")]
  9. LOW
  10. }
  11. [EnumLabel("例")]
  12. public Example test = Example.HIGH;
  13. }