UI_MainUI.cs 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.Main
  4. {
  5. public partial class UI_MainUI
  6. {
  7. public GComponent target;
  8. public GComponent m_valueBar;
  9. public UI_ComponentHeadBar m_headBar;
  10. public UI_ButtonModle1 m_btnMain;
  11. public UI_ButtonModle1 m_btnHuanZhuang;
  12. public UI_ButtonModle1 m_btnXiuFang;
  13. public UI_ButtonModle1 m_btnCiPai;
  14. public UI_ButtonModle1 m_btnZhaiXing;
  15. public UI_Component7 m_loaRight;
  16. public UI_BtnModle m_btnFirstRecharge;
  17. public UI_BtnModle m_btnGiftBag1;
  18. public UI_BtnModle m_btnGiftBag2;
  19. public GList m_list;
  20. public UI_ButtonChange m_btnChange;
  21. public GGroup m_grpLeagueAnswer;
  22. public GGroup m_grpList;
  23. public UI_ComAd m_comListAd;
  24. public UI_BtnModle1 m_btnDailyWelfare;
  25. public UI_BtnModle2 m_btnActivityDay7;
  26. public UI_BtnModle2 m_btnActivityLuckyBox;
  27. public GGroup m_grpLeft;
  28. public UI_ButtonModle6 m_btnArena;
  29. public UI_ButtonModle7 m_btn1;
  30. public UI_ButtonModle2 m_btnStudio;
  31. public UI_ButtonModle3 m_btnTravel;
  32. public UI_ButtonModle5 m_btnPoem;
  33. public UI_ButtonModle4 m_btnField;
  34. public UI_Component7 m_loaLeft;
  35. public GGroup m_grpRight;
  36. public GGroup m_grpMove;
  37. public GLoader m_loaGuidestudio;
  38. public Transition m_t1;
  39. public Transition m_t2;
  40. public Transition m_t3;
  41. public Transition m_t4;
  42. public const string URL = "ui://mfvz4q8kq08x0";
  43. public const string PACKAGE_NAME = "Main";
  44. public const string RES_NAME = "MainUI";
  45. private static UI_MainUI _proxy;
  46. public static UI_MainUI Create(GObject gObject = null)
  47. {
  48. var ui = new UI_MainUI();
  49. if(gObject == null)
  50. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  51. else
  52. ui.target = (GComponent)gObject;
  53. ui.Init(ui.target);
  54. return ui;
  55. }
  56. public static UI_MainUI Proxy(GObject gObject = null)
  57. {
  58. if(_proxy == null)
  59. {
  60. _proxy = new UI_MainUI();
  61. }
  62. var ui = _proxy;
  63. if(gObject == null)
  64. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  65. else
  66. ui.target = (GComponent)gObject;
  67. ui.Init(ui.target);
  68. return ui;
  69. }
  70. public static void ProxyEnd()
  71. {
  72. if (_proxy != null)
  73. {
  74. _proxy.Dispose();
  75. }
  76. }
  77. public static void ClearProxy()
  78. {
  79. ProxyEnd();
  80. _proxy = null;
  81. }
  82. private void Init(GComponent comp)
  83. {
  84. m_valueBar = (GComponent)comp.GetChild("valueBar");
  85. m_headBar = (UI_ComponentHeadBar)UI_ComponentHeadBar.Create(comp.GetChild("headBar"));
  86. m_btnMain = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnMain"));
  87. m_btnHuanZhuang = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnHuanZhuang"));
  88. m_btnXiuFang = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnXiuFang"));
  89. m_btnCiPai = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnCiPai"));
  90. m_btnZhaiXing = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnZhaiXing"));
  91. m_loaRight = (UI_Component7)UI_Component7.Create(comp.GetChild("loaRight"));
  92. m_btnFirstRecharge = (UI_BtnModle)UI_BtnModle.Create(comp.GetChild("btnFirstRecharge"));
  93. m_btnGiftBag1 = (UI_BtnModle)UI_BtnModle.Create(comp.GetChild("btnGiftBag1"));
  94. m_btnGiftBag2 = (UI_BtnModle)UI_BtnModle.Create(comp.GetChild("btnGiftBag2"));
  95. m_list = (GList)comp.GetChild("list");
  96. m_btnChange = (UI_ButtonChange)UI_ButtonChange.Create(comp.GetChild("btnChange"));
  97. m_grpLeagueAnswer = (GGroup)comp.GetChild("grpLeagueAnswer");
  98. m_grpList = (GGroup)comp.GetChild("grpList");
  99. m_comListAd = (UI_ComAd)UI_ComAd.Create(comp.GetChild("comListAd"));
  100. m_btnDailyWelfare = (UI_BtnModle1)UI_BtnModle1.Create(comp.GetChild("btnDailyWelfare"));
  101. m_btnActivityDay7 = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnActivityDay7"));
  102. m_btnActivityLuckyBox = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnActivityLuckyBox"));
  103. m_grpLeft = (GGroup)comp.GetChild("grpLeft");
  104. m_btnArena = (UI_ButtonModle6)UI_ButtonModle6.Create(comp.GetChild("btnArena"));
  105. m_btn1 = (UI_ButtonModle7)UI_ButtonModle7.Create(comp.GetChild("btn1"));
  106. m_btnStudio = (UI_ButtonModle2)UI_ButtonModle2.Create(comp.GetChild("btnStudio"));
  107. m_btnTravel = (UI_ButtonModle3)UI_ButtonModle3.Create(comp.GetChild("btnTravel"));
  108. m_btnPoem = (UI_ButtonModle5)UI_ButtonModle5.Create(comp.GetChild("btnPoem"));
  109. m_btnField = (UI_ButtonModle4)UI_ButtonModle4.Create(comp.GetChild("btnField"));
  110. m_loaLeft = (UI_Component7)UI_Component7.Create(comp.GetChild("loaLeft"));
  111. m_grpRight = (GGroup)comp.GetChild("grpRight");
  112. m_grpMove = (GGroup)comp.GetChild("grpMove");
  113. m_loaGuidestudio = (GLoader)comp.GetChild("loaGuidestudio");
  114. m_t1 = comp.GetTransition("t1");
  115. m_t2 = comp.GetTransition("t2");
  116. m_t3 = comp.GetTransition("t3");
  117. m_t4 = comp.GetTransition("t4");
  118. }
  119. public void Dispose(bool disposeTarget = false)
  120. {
  121. m_valueBar = null;
  122. m_headBar.Dispose();
  123. m_headBar = null;
  124. m_btnMain.Dispose();
  125. m_btnMain = null;
  126. m_btnHuanZhuang.Dispose();
  127. m_btnHuanZhuang = null;
  128. m_btnXiuFang.Dispose();
  129. m_btnXiuFang = null;
  130. m_btnCiPai.Dispose();
  131. m_btnCiPai = null;
  132. m_btnZhaiXing.Dispose();
  133. m_btnZhaiXing = null;
  134. m_loaRight.Dispose();
  135. m_loaRight = null;
  136. m_btnFirstRecharge.Dispose();
  137. m_btnFirstRecharge = null;
  138. m_btnGiftBag1.Dispose();
  139. m_btnGiftBag1 = null;
  140. m_btnGiftBag2.Dispose();
  141. m_btnGiftBag2 = null;
  142. m_list = null;
  143. m_btnChange.Dispose();
  144. m_btnChange = null;
  145. m_grpLeagueAnswer = null;
  146. m_grpList = null;
  147. m_comListAd.Dispose();
  148. m_comListAd = null;
  149. m_btnDailyWelfare.Dispose();
  150. m_btnDailyWelfare = null;
  151. m_btnActivityDay7.Dispose();
  152. m_btnActivityDay7 = null;
  153. m_btnActivityLuckyBox.Dispose();
  154. m_btnActivityLuckyBox = null;
  155. m_grpLeft = null;
  156. m_btnArena.Dispose();
  157. m_btnArena = null;
  158. m_btn1.Dispose();
  159. m_btn1 = null;
  160. m_btnStudio.Dispose();
  161. m_btnStudio = null;
  162. m_btnTravel.Dispose();
  163. m_btnTravel = null;
  164. m_btnPoem.Dispose();
  165. m_btnPoem = null;
  166. m_btnField.Dispose();
  167. m_btnField = null;
  168. m_loaLeft.Dispose();
  169. m_loaLeft = null;
  170. m_grpRight = null;
  171. m_grpMove = null;
  172. m_loaGuidestudio = null;
  173. m_t1 = null;
  174. m_t2 = null;
  175. m_t3 = null;
  176. m_t4 = null;
  177. if(disposeTarget && target != null)
  178. {
  179. target.RemoveFromParent();
  180. target.Dispose();
  181. }
  182. target = null;
  183. }
  184. }
  185. }