AutoRegisterAttribute.cs 316 B

1234567891011121314151617181920
  1. // custom attribute
  2. using System;
  3. using UnityEngine;
  4. public class AutoRegisterAttribute :
  5. Attribute
  6. {
  7. }
  8. public class FriendlyName : PropertyAttribute
  9. {
  10. public string friendlyName { get; protected set; }
  11. public FriendlyName(string InDisplayName)
  12. {
  13. friendlyName = InDisplayName;
  14. }
  15. }