WindowConfig.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using XRTool.Util;
  5. [CreateAssetMenu(menuName = "WindowConfig")]
  6. public class WindowConfig : ScriptableObject
  7. {
  8. public windowType initShowWindow;
  9. public Canvas canvas;
  10. public List<UnityEngine.Object> initComponent;
  11. public List<windowItemGameObject> windowItemGameObjectList;
  12. [Serializable]
  13. public class windowItemGameObject
  14. {
  15. public GameObject window;
  16. public windowType type;
  17. public List<windowItemGameObject> windowItemGameObjectList;
  18. public windowType parentType;
  19. }
  20. public enum windowType
  21. {
  22. Login = 100001, // 登录
  23. Project = 100002, // 项目
  24. XunJian = 200001, // 巡检
  25. XunJianLB = 201001, // 巡检
  26. XunJianStart = 201002, // 巡检
  27. ProjectMain = 200002, // 主页
  28. RTC = 200003, // 远程协助
  29. RoomMain = 203001, // 远程协助房间
  30. YinDao = 200004, // 引导
  31. PeiXun = 200005, //
  32. Error = 900001, //
  33. Tip = 800001, //
  34. Tip2 = 800002, //
  35. Top = 700001, //
  36. }
  37. }