ETPackageMenuAttribute.cs 498 B

12345678910111213141516171819202122232425262728
  1. #if ODIN_INSPECTOR
  2. using System;
  3. namespace ET.PackageManager.Editor
  4. {
  5. public class ETPackageMenuAttribute : Attribute
  6. {
  7. public string MenuName;
  8. public int Order;
  9. public ETPackageMenuAttribute(string menuName, int order = 0)
  10. {
  11. MenuName = menuName;
  12. Order = order;
  13. }
  14. }
  15. public class ETPackageAutoMenuData
  16. {
  17. public Type Type;
  18. public string MenuName;
  19. public int Order;
  20. }
  21. }
  22. #endif