UI_MainUI.cs 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  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 GGroup m_grpLeagueAnswer;
  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_ButtonModle1 m_btnHaiZhiShi;
  16. public GGraph m_BottomEffectHolder;
  17. public UI_BtnModle m_btnFirstRecharge;
  18. public UI_BtnModle m_btnGiftBag1;
  19. public UI_BtnModle m_btnGiftBag2;
  20. public UI_ComponentHeadBar m_headBar;
  21. public GButton m_btnYouJian;
  22. public GButton m_btnGongGao;
  23. public GList m_list;
  24. public UI_ButtonChange m_btnChange;
  25. public UI_ComAd m_comListAd;
  26. public UI_BtnModle1 m_btnDailyWelfare;
  27. public UI_BtnModle2 m_btnActivityDay7;
  28. public UI_BtnModle2 m_btnActivityLuckyBox;
  29. public GGroup m_grpLeft;
  30. public GButton m_loaLeft;
  31. public UI_ButtonModle7 m_btn1;
  32. public UI_ButtonModle9 m_btnStudio;
  33. public UI_ButtonModle9 m_btnTravel;
  34. public UI_ButtonModle8 m_btnPoem;
  35. public UI_ButtonModle9 m_btnField;
  36. public UI_ButtonModle8 m_btnArena;
  37. public GGroup m_grpRight;
  38. public GGroup m_grpMove;
  39. public GLoader m_loaGuidestudio;
  40. public Transition m_t1;
  41. public Transition m_t2;
  42. public Transition m_t3;
  43. public Transition m_t4;
  44. public Transition m_openViewAction;
  45. public const string URL = "ui://mfvz4q8kq08x0";
  46. public const string PACKAGE_NAME = "Main";
  47. public const string RES_NAME = "MainUI";
  48. private static UI_MainUI _proxy;
  49. public static UI_MainUI Create(GObject gObject = null)
  50. {
  51. var ui = new UI_MainUI();
  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 UI_MainUI Proxy(GObject gObject = null)
  60. {
  61. if(_proxy == null)
  62. {
  63. _proxy = new UI_MainUI();
  64. }
  65. var ui = _proxy;
  66. if(gObject == null)
  67. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  68. else
  69. ui.target = (GComponent)gObject;
  70. ui.Init(ui.target);
  71. return ui;
  72. }
  73. public static void ProxyEnd()
  74. {
  75. if (_proxy != null)
  76. {
  77. _proxy.Dispose();
  78. }
  79. }
  80. public static void ClearProxy()
  81. {
  82. ProxyEnd();
  83. _proxy = null;
  84. }
  85. private void Init(GComponent comp)
  86. {
  87. m_valueBar = (GComponent)comp.GetChild("valueBar");
  88. m_grpLeagueAnswer = (GGroup)comp.GetChild("grpLeagueAnswer");
  89. m_btnMain = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnMain"));
  90. m_btnHuanZhuang = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnHuanZhuang"));
  91. m_btnXiuFang = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnXiuFang"));
  92. m_btnCiPai = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnCiPai"));
  93. m_btnZhaiXing = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnZhaiXing"));
  94. m_btnHaiZhiShi = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnHaiZhiShi"));
  95. m_BottomEffectHolder = (GGraph)comp.GetChild("BottomEffectHolder");
  96. m_btnFirstRecharge = (UI_BtnModle)UI_BtnModle.Create(comp.GetChild("btnFirstRecharge"));
  97. m_btnGiftBag1 = (UI_BtnModle)UI_BtnModle.Create(comp.GetChild("btnGiftBag1"));
  98. m_btnGiftBag2 = (UI_BtnModle)UI_BtnModle.Create(comp.GetChild("btnGiftBag2"));
  99. m_headBar = (UI_ComponentHeadBar)UI_ComponentHeadBar.Create(comp.GetChild("headBar"));
  100. m_btnYouJian = (GButton)comp.GetChild("btnYouJian");
  101. m_btnGongGao = (GButton)comp.GetChild("btnGongGao");
  102. m_list = (GList)comp.GetChild("list");
  103. m_btnChange = (UI_ButtonChange)UI_ButtonChange.Create(comp.GetChild("btnChange"));
  104. m_comListAd = (UI_ComAd)UI_ComAd.Create(comp.GetChild("comListAd"));
  105. m_btnDailyWelfare = (UI_BtnModle1)UI_BtnModle1.Create(comp.GetChild("btnDailyWelfare"));
  106. m_btnActivityDay7 = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnActivityDay7"));
  107. m_btnActivityLuckyBox = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnActivityLuckyBox"));
  108. m_grpLeft = (GGroup)comp.GetChild("grpLeft");
  109. m_loaLeft = (GButton)comp.GetChild("loaLeft");
  110. m_btn1 = (UI_ButtonModle7)UI_ButtonModle7.Create(comp.GetChild("btn1"));
  111. m_btnStudio = (UI_ButtonModle9)UI_ButtonModle9.Create(comp.GetChild("btnStudio"));
  112. m_btnTravel = (UI_ButtonModle9)UI_ButtonModle9.Create(comp.GetChild("btnTravel"));
  113. m_btnPoem = (UI_ButtonModle8)UI_ButtonModle8.Create(comp.GetChild("btnPoem"));
  114. m_btnField = (UI_ButtonModle9)UI_ButtonModle9.Create(comp.GetChild("btnField"));
  115. m_btnArena = (UI_ButtonModle8)UI_ButtonModle8.Create(comp.GetChild("btnArena"));
  116. m_grpRight = (GGroup)comp.GetChild("grpRight");
  117. m_grpMove = (GGroup)comp.GetChild("grpMove");
  118. m_loaGuidestudio = (GLoader)comp.GetChild("loaGuidestudio");
  119. m_t1 = comp.GetTransition("t1");
  120. m_t2 = comp.GetTransition("t2");
  121. m_t3 = comp.GetTransition("t3");
  122. m_t4 = comp.GetTransition("t4");
  123. m_openViewAction = comp.GetTransition("openViewAction");
  124. }
  125. public void Dispose(bool disposeTarget = false)
  126. {
  127. m_valueBar = null;
  128. m_grpLeagueAnswer = null;
  129. m_btnMain.Dispose();
  130. m_btnMain = null;
  131. m_btnHuanZhuang.Dispose();
  132. m_btnHuanZhuang = null;
  133. m_btnXiuFang.Dispose();
  134. m_btnXiuFang = null;
  135. m_btnCiPai.Dispose();
  136. m_btnCiPai = null;
  137. m_btnZhaiXing.Dispose();
  138. m_btnZhaiXing = null;
  139. m_btnHaiZhiShi.Dispose();
  140. m_btnHaiZhiShi = null;
  141. m_BottomEffectHolder = null;
  142. m_btnFirstRecharge.Dispose();
  143. m_btnFirstRecharge = null;
  144. m_btnGiftBag1.Dispose();
  145. m_btnGiftBag1 = null;
  146. m_btnGiftBag2.Dispose();
  147. m_btnGiftBag2 = null;
  148. m_headBar.Dispose();
  149. m_headBar = null;
  150. m_btnYouJian = null;
  151. m_btnGongGao = null;
  152. m_list = null;
  153. m_btnChange.Dispose();
  154. m_btnChange = null;
  155. m_comListAd.Dispose();
  156. m_comListAd = null;
  157. m_btnDailyWelfare.Dispose();
  158. m_btnDailyWelfare = null;
  159. m_btnActivityDay7.Dispose();
  160. m_btnActivityDay7 = null;
  161. m_btnActivityLuckyBox.Dispose();
  162. m_btnActivityLuckyBox = null;
  163. m_grpLeft = null;
  164. m_loaLeft = null;
  165. m_btn1.Dispose();
  166. m_btn1 = null;
  167. m_btnStudio.Dispose();
  168. m_btnStudio = null;
  169. m_btnTravel.Dispose();
  170. m_btnTravel = null;
  171. m_btnPoem.Dispose();
  172. m_btnPoem = null;
  173. m_btnField.Dispose();
  174. m_btnField = null;
  175. m_btnArena.Dispose();
  176. m_btnArena = null;
  177. m_grpRight = null;
  178. m_grpMove = null;
  179. m_loaGuidestudio = null;
  180. m_t1 = null;
  181. m_t2 = null;
  182. m_t3 = null;
  183. m_t4 = null;
  184. m_openViewAction = null;
  185. if(disposeTarget && target != null)
  186. {
  187. target.RemoveFromParent();
  188. target.Dispose();
  189. }
  190. target = null;
  191. }
  192. }
  193. }