UI_MainUI.cs 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  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 GTextField m_grpLeaguetext;
  10. public GGroup m_grpLeagueTips;
  11. public UI_ButtonModle1 m_btnMain;
  12. public UI_ButtonModle1 m_btnXiuFang;
  13. public UI_ButtonModle1 m_btnHuanZhuang;
  14. public UI_ButtonModle1 m_btnZhaiXing;
  15. public UI_ButtonModle1 m_btnCiPai;
  16. public UI_ButtonModle1 m_btnHaiZhiShi;
  17. public GGraph m_BottomEffectHolder;
  18. public UI_ComponentHeadBar m_headBar;
  19. public GButton m_btnYouJian;
  20. public GButton m_btnGongGao;
  21. public GList m_list;
  22. public UI_ButtonChange m_btnChange;
  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 UI_BtnModle2 m_btnActivityAfuGift;
  28. public UI_BtnModle2 m_btnWanShiLi;
  29. public UI_BtnModle m_btnFirstRecharge;
  30. public UI_BtnModle m_btnGiftBag1;
  31. public UI_BtnModle m_btnGiftBag2;
  32. public GGroup m_grpLeft;
  33. public GTextField m_serverTime;
  34. public GGroup m_grpMove;
  35. public GLoader m_loaGuidestudio;
  36. public Transition m_openViewAction;
  37. public const string URL = "ui://mfvz4q8kq08x0";
  38. public const string PACKAGE_NAME = "Main";
  39. public const string RES_NAME = "MainUI";
  40. private static UI_MainUI _proxy;
  41. public static UI_MainUI Create(GObject gObject = null)
  42. {
  43. var ui = new UI_MainUI();
  44. if(gObject == null)
  45. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  46. else
  47. ui.target = (GComponent)gObject;
  48. ui.Init(ui.target);
  49. return ui;
  50. }
  51. public static UI_MainUI Proxy(GObject gObject = null)
  52. {
  53. if(_proxy == null)
  54. {
  55. _proxy = new UI_MainUI();
  56. }
  57. var ui = _proxy;
  58. if(gObject == null)
  59. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  60. else
  61. ui.target = (GComponent)gObject;
  62. ui.Init(ui.target);
  63. return ui;
  64. }
  65. public static void ProxyEnd()
  66. {
  67. if (_proxy != null)
  68. {
  69. _proxy.Dispose();
  70. }
  71. }
  72. public static void ClearProxy()
  73. {
  74. ProxyEnd();
  75. _proxy = null;
  76. }
  77. private void Init(GComponent comp)
  78. {
  79. m_valueBar = (GComponent)comp.GetChild("valueBar");
  80. m_grpLeaguetext = (GTextField)comp.GetChild("grpLeaguetext");
  81. m_grpLeagueTips = (GGroup)comp.GetChild("grpLeagueTips");
  82. m_btnMain = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnMain"));
  83. m_btnXiuFang = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnXiuFang"));
  84. m_btnHuanZhuang = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnHuanZhuang"));
  85. m_btnZhaiXing = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnZhaiXing"));
  86. m_btnCiPai = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnCiPai"));
  87. m_btnHaiZhiShi = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnHaiZhiShi"));
  88. m_BottomEffectHolder = (GGraph)comp.GetChild("BottomEffectHolder");
  89. m_headBar = (UI_ComponentHeadBar)UI_ComponentHeadBar.Create(comp.GetChild("headBar"));
  90. m_btnYouJian = (GButton)comp.GetChild("btnYouJian");
  91. m_btnGongGao = (GButton)comp.GetChild("btnGongGao");
  92. m_list = (GList)comp.GetChild("list");
  93. m_btnChange = (UI_ButtonChange)UI_ButtonChange.Create(comp.GetChild("btnChange"));
  94. m_comListAd = (UI_ComAd)UI_ComAd.Create(comp.GetChild("comListAd"));
  95. m_btnDailyWelfare = (UI_BtnModle1)UI_BtnModle1.Create(comp.GetChild("btnDailyWelfare"));
  96. m_btnActivityDay7 = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnActivityDay7"));
  97. m_btnActivityLuckyBox = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnActivityLuckyBox"));
  98. m_btnActivityAfuGift = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnActivityAfuGift"));
  99. m_btnWanShiLi = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnWanShiLi"));
  100. m_btnFirstRecharge = (UI_BtnModle)UI_BtnModle.Create(comp.GetChild("btnFirstRecharge"));
  101. m_btnGiftBag1 = (UI_BtnModle)UI_BtnModle.Create(comp.GetChild("btnGiftBag1"));
  102. m_btnGiftBag2 = (UI_BtnModle)UI_BtnModle.Create(comp.GetChild("btnGiftBag2"));
  103. m_grpLeft = (GGroup)comp.GetChild("grpLeft");
  104. m_serverTime = (GTextField)comp.GetChild("serverTime");
  105. m_grpMove = (GGroup)comp.GetChild("grpMove");
  106. m_loaGuidestudio = (GLoader)comp.GetChild("loaGuidestudio");
  107. m_openViewAction = comp.GetTransition("openViewAction");
  108. }
  109. public void Dispose(bool disposeTarget = false)
  110. {
  111. m_valueBar = null;
  112. m_grpLeaguetext = null;
  113. m_grpLeagueTips = null;
  114. m_btnMain.Dispose();
  115. m_btnMain = null;
  116. m_btnXiuFang.Dispose();
  117. m_btnXiuFang = null;
  118. m_btnHuanZhuang.Dispose();
  119. m_btnHuanZhuang = null;
  120. m_btnZhaiXing.Dispose();
  121. m_btnZhaiXing = null;
  122. m_btnCiPai.Dispose();
  123. m_btnCiPai = null;
  124. m_btnHaiZhiShi.Dispose();
  125. m_btnHaiZhiShi = null;
  126. m_BottomEffectHolder = null;
  127. m_headBar.Dispose();
  128. m_headBar = null;
  129. m_btnYouJian = null;
  130. m_btnGongGao = null;
  131. m_list = null;
  132. m_btnChange.Dispose();
  133. m_btnChange = null;
  134. m_comListAd.Dispose();
  135. m_comListAd = null;
  136. m_btnDailyWelfare.Dispose();
  137. m_btnDailyWelfare = null;
  138. m_btnActivityDay7.Dispose();
  139. m_btnActivityDay7 = null;
  140. m_btnActivityLuckyBox.Dispose();
  141. m_btnActivityLuckyBox = null;
  142. m_btnActivityAfuGift.Dispose();
  143. m_btnActivityAfuGift = null;
  144. m_btnWanShiLi.Dispose();
  145. m_btnWanShiLi = null;
  146. m_btnFirstRecharge.Dispose();
  147. m_btnFirstRecharge = null;
  148. m_btnGiftBag1.Dispose();
  149. m_btnGiftBag1 = null;
  150. m_btnGiftBag2.Dispose();
  151. m_btnGiftBag2 = null;
  152. m_grpLeft = null;
  153. m_serverTime = null;
  154. m_grpMove = null;
  155. m_loaGuidestudio = null;
  156. m_openViewAction = null;
  157. if(disposeTarget && target != null)
  158. {
  159. target.RemoveFromParent();
  160. target.Dispose();
  161. }
  162. target = null;
  163. }
  164. }
  165. }