UIDefines.cs 861 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. namespace Rokid.MRC
  5. {
  6. public enum UIType
  7. {
  8. Connection,
  9. Confirm,
  10. Tips,
  11. }
  12. public class UIData
  13. {
  14. public UIType uiType;
  15. public string uiPrefabPath;
  16. public int uiDepth;
  17. public bool ignoreOpen;
  18. public UIData(UIType tp, string path, int depth, bool ignore)
  19. {
  20. uiType = tp;
  21. uiPrefabPath = path;
  22. uiDepth = depth;
  23. ignoreOpen = ignore;
  24. }
  25. }
  26. public static class UIDefines
  27. {
  28. public static UIData[] UIDataList = new UIData[] {
  29. new UIData(UIType.Connection,"UIConnectPanel",1, true),
  30. new UIData(UIType.Confirm,"UIConfirmPanel",100,true),
  31. new UIData(UIType.Tips,"UITipsPanel",101,true),
  32. };
  33. }
  34. }