UI_DressUpUI.cs 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.DressUp
  4. {
  5. public partial class UI_DressUpUI
  6. {
  7. public GComponent target;
  8. public Controller m_c1;
  9. public Controller m_c2;
  10. public GGraph m_touchPad;
  11. public GLoader m_loaShow;
  12. public GButton m_btnShow;
  13. public GButton m_btnBack;
  14. public GButton m_btnHome;
  15. public GComboBox m_comboBox;
  16. public UI_comListType m_comListType1;
  17. public UI_comListType m_comListType2;
  18. public UI_PartsList m_partsList;
  19. public UI_PartsList m_partsList2;
  20. public UI_PartsList m_partsListSearch;
  21. public GButton m_btnSave;
  22. public GButton m_btnNext;
  23. public GButton m_btnAction;
  24. public GButton m_btnPhoto;
  25. public GButton m_btnLastStep;
  26. public GButton m_btnNextStep;
  27. public GButton m_btnHide;
  28. public GButton m_btnSearch;
  29. public GButton m_btnDelete;
  30. public GGroup m_grpContent;
  31. public const string URL = "ui://mbo439wbq08x0";
  32. public const string PACKAGE_NAME = "DressUp";
  33. public const string RES_NAME = "DressUpUI";
  34. private static UI_DressUpUI _proxy;
  35. public static UI_DressUpUI Create(GObject gObject = null)
  36. {
  37. var ui = new UI_DressUpUI();
  38. if(gObject == null)
  39. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  40. else
  41. ui.target = (GComponent)gObject;
  42. ui.Init(ui.target);
  43. return ui;
  44. }
  45. public static UI_DressUpUI Proxy(GObject gObject = null)
  46. {
  47. if(_proxy == null)
  48. {
  49. _proxy = new UI_DressUpUI();
  50. }
  51. var ui = _proxy;
  52. if(gObject == null)
  53. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  54. else
  55. ui.target = (GComponent)gObject;
  56. ui.Init(ui.target);
  57. return ui;
  58. }
  59. public static void ProxyEnd()
  60. {
  61. if (_proxy != null)
  62. {
  63. _proxy.Dispose();
  64. }
  65. }
  66. public static void ClearProxy()
  67. {
  68. ProxyEnd();
  69. _proxy = null;
  70. }
  71. private void Init(GComponent comp)
  72. {
  73. m_c1 = comp.GetController("c1");
  74. m_c2 = comp.GetController("c2");
  75. m_touchPad = (GGraph)comp.GetChild("touchPad");
  76. m_loaShow = (GLoader)comp.GetChild("loaShow");
  77. m_btnShow = (GButton)comp.GetChild("btnShow");
  78. m_btnBack = (GButton)comp.GetChild("btnBack");
  79. m_btnHome = (GButton)comp.GetChild("btnHome");
  80. m_comboBox = (GComboBox)comp.GetChild("comboBox");
  81. m_comListType1 = (UI_comListType)UI_comListType.Create(comp.GetChild("comListType1"));
  82. m_comListType2 = (UI_comListType)UI_comListType.Create(comp.GetChild("comListType2"));
  83. m_partsList = (UI_PartsList)UI_PartsList.Create(comp.GetChild("partsList"));
  84. m_partsList2 = (UI_PartsList)UI_PartsList.Create(comp.GetChild("partsList2"));
  85. m_partsListSearch = (UI_PartsList)UI_PartsList.Create(comp.GetChild("partsListSearch"));
  86. m_btnSave = (GButton)comp.GetChild("btnSave");
  87. m_btnNext = (GButton)comp.GetChild("btnNext");
  88. m_btnAction = (GButton)comp.GetChild("btnAction");
  89. m_btnPhoto = (GButton)comp.GetChild("btnPhoto");
  90. m_btnLastStep = (GButton)comp.GetChild("btnLastStep");
  91. m_btnNextStep = (GButton)comp.GetChild("btnNextStep");
  92. m_btnHide = (GButton)comp.GetChild("btnHide");
  93. m_btnSearch = (GButton)comp.GetChild("btnSearch");
  94. m_btnDelete = (GButton)comp.GetChild("btnDelete");
  95. m_grpContent = (GGroup)comp.GetChild("grpContent");
  96. }
  97. public void Dispose(bool disposeTarget = false)
  98. {
  99. m_c1 = null;
  100. m_c2 = null;
  101. m_touchPad = null;
  102. m_loaShow = null;
  103. m_btnShow = null;
  104. m_btnBack = null;
  105. m_btnHome = null;
  106. m_comboBox = null;
  107. m_comListType1.Dispose();
  108. m_comListType1 = null;
  109. m_comListType2.Dispose();
  110. m_comListType2 = null;
  111. m_partsList.Dispose();
  112. m_partsList = null;
  113. m_partsList2.Dispose();
  114. m_partsList2 = null;
  115. m_partsListSearch.Dispose();
  116. m_partsListSearch = null;
  117. m_btnSave = null;
  118. m_btnNext = null;
  119. m_btnAction = null;
  120. m_btnPhoto = null;
  121. m_btnLastStep = null;
  122. m_btnNextStep = null;
  123. m_btnHide = null;
  124. m_btnSearch = null;
  125. m_btnDelete = null;
  126. m_grpContent = null;
  127. if(disposeTarget && target != null)
  128. {
  129. target.RemoveFromParent();
  130. target.Dispose();
  131. }
  132. target = null;
  133. }
  134. }
  135. }