UI_LuckyBoxStarUI.cs 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.LuckyBox
  4. {
  5. public partial class UI_LuckyBoxStarUI
  6. {
  7. public GComponent target;
  8. public Controller m_ctrlBuyType;
  9. public Controller m_ctrlRewardsType;
  10. public GLoader m_bg;
  11. public GButton m_btnBack;
  12. public UI_ComStar m_comStar0_0_0;
  13. public UI_ComStar m_comStar0_1_0;
  14. public UI_ComStar m_comStar0_2_0;
  15. public UI_ComStar m_comStar1_0_0;
  16. public UI_ComStar m_comStar1_0_1;
  17. public UI_ComStar m_comStar1_0_2;
  18. public UI_ComStar m_comStar1_0_3;
  19. public UI_ComStar m_comStar1_0_4;
  20. public UI_ComStar m_comStar1_0_5;
  21. public UI_ComStar m_comStar1_0_6;
  22. public UI_ComStar m_comStar1_0_7;
  23. public UI_ComStar m_comStar1_0_8;
  24. public GGroup m_grpComStar0;
  25. public UI_ComStar m_comStar1_1_0;
  26. public UI_ComStar m_comStar1_1_1;
  27. public UI_ComStar m_comStar1_1_2;
  28. public UI_ComStar m_comStar1_1_3;
  29. public UI_ComStar m_comStar1_1_4;
  30. public UI_ComStar m_comStar1_1_5;
  31. public UI_ComStar m_comStar1_1_6;
  32. public UI_ComStar m_comStar1_1_7;
  33. public UI_ComStar m_comStar1_1_8;
  34. public GGroup m_grpComStar1;
  35. public UI_ComStar m_comStar1_2_0;
  36. public UI_ComStar m_comStar1_2_1;
  37. public UI_ComStar m_comStar1_2_2;
  38. public UI_ComStar m_comStar1_2_3;
  39. public UI_ComStar m_comStar1_2_4;
  40. public UI_ComStar m_comStar1_2_5;
  41. public UI_ComStar m_comStar1_2_6;
  42. public UI_ComStar m_comStar1_2_7;
  43. public UI_ComStar m_comStar1_2_8;
  44. public GGroup m_grpComStar2;
  45. public const string URL = "ui://drx9d1usl5nzm";
  46. public const string PACKAGE_NAME = "LuckyBox";
  47. public const string RES_NAME = "LuckyBoxStarUI";
  48. private static UI_LuckyBoxStarUI _proxy;
  49. public static UI_LuckyBoxStarUI Create(GObject gObject = null)
  50. {
  51. var ui = new UI_LuckyBoxStarUI();
  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_LuckyBoxStarUI Proxy(GObject gObject = null)
  60. {
  61. if(_proxy == null)
  62. {
  63. _proxy = new UI_LuckyBoxStarUI();
  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_ctrlBuyType = comp.GetController("ctrlBuyType");
  88. m_ctrlRewardsType = comp.GetController("ctrlRewardsType");
  89. m_bg = (GLoader)comp.GetChild("bg");
  90. m_btnBack = (GButton)comp.GetChild("btnBack");
  91. m_comStar0_0_0 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar0_0_0"));
  92. m_comStar0_1_0 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar0_1_0"));
  93. m_comStar0_2_0 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar0_2_0"));
  94. m_comStar1_0_0 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_0_0"));
  95. m_comStar1_0_1 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_0_1"));
  96. m_comStar1_0_2 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_0_2"));
  97. m_comStar1_0_3 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_0_3"));
  98. m_comStar1_0_4 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_0_4"));
  99. m_comStar1_0_5 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_0_5"));
  100. m_comStar1_0_6 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_0_6"));
  101. m_comStar1_0_7 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_0_7"));
  102. m_comStar1_0_8 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_0_8"));
  103. m_grpComStar0 = (GGroup)comp.GetChild("grpComStar0");
  104. m_comStar1_1_0 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_1_0"));
  105. m_comStar1_1_1 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_1_1"));
  106. m_comStar1_1_2 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_1_2"));
  107. m_comStar1_1_3 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_1_3"));
  108. m_comStar1_1_4 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_1_4"));
  109. m_comStar1_1_5 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_1_5"));
  110. m_comStar1_1_6 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_1_6"));
  111. m_comStar1_1_7 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_1_7"));
  112. m_comStar1_1_8 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_1_8"));
  113. m_grpComStar1 = (GGroup)comp.GetChild("grpComStar1");
  114. m_comStar1_2_0 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_2_0"));
  115. m_comStar1_2_1 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_2_1"));
  116. m_comStar1_2_2 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_2_2"));
  117. m_comStar1_2_3 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_2_3"));
  118. m_comStar1_2_4 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_2_4"));
  119. m_comStar1_2_5 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_2_5"));
  120. m_comStar1_2_6 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_2_6"));
  121. m_comStar1_2_7 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_2_7"));
  122. m_comStar1_2_8 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_2_8"));
  123. m_grpComStar2 = (GGroup)comp.GetChild("grpComStar2");
  124. }
  125. public void Dispose(bool disposeTarget = false)
  126. {
  127. m_ctrlBuyType = null;
  128. m_ctrlRewardsType = null;
  129. m_bg = null;
  130. m_btnBack = null;
  131. m_comStar0_0_0.Dispose();
  132. m_comStar0_0_0 = null;
  133. m_comStar0_1_0.Dispose();
  134. m_comStar0_1_0 = null;
  135. m_comStar0_2_0.Dispose();
  136. m_comStar0_2_0 = null;
  137. m_comStar1_0_0.Dispose();
  138. m_comStar1_0_0 = null;
  139. m_comStar1_0_1.Dispose();
  140. m_comStar1_0_1 = null;
  141. m_comStar1_0_2.Dispose();
  142. m_comStar1_0_2 = null;
  143. m_comStar1_0_3.Dispose();
  144. m_comStar1_0_3 = null;
  145. m_comStar1_0_4.Dispose();
  146. m_comStar1_0_4 = null;
  147. m_comStar1_0_5.Dispose();
  148. m_comStar1_0_5 = null;
  149. m_comStar1_0_6.Dispose();
  150. m_comStar1_0_6 = null;
  151. m_comStar1_0_7.Dispose();
  152. m_comStar1_0_7 = null;
  153. m_comStar1_0_8.Dispose();
  154. m_comStar1_0_8 = null;
  155. m_grpComStar0 = null;
  156. m_comStar1_1_0.Dispose();
  157. m_comStar1_1_0 = null;
  158. m_comStar1_1_1.Dispose();
  159. m_comStar1_1_1 = null;
  160. m_comStar1_1_2.Dispose();
  161. m_comStar1_1_2 = null;
  162. m_comStar1_1_3.Dispose();
  163. m_comStar1_1_3 = null;
  164. m_comStar1_1_4.Dispose();
  165. m_comStar1_1_4 = null;
  166. m_comStar1_1_5.Dispose();
  167. m_comStar1_1_5 = null;
  168. m_comStar1_1_6.Dispose();
  169. m_comStar1_1_6 = null;
  170. m_comStar1_1_7.Dispose();
  171. m_comStar1_1_7 = null;
  172. m_comStar1_1_8.Dispose();
  173. m_comStar1_1_8 = null;
  174. m_grpComStar1 = null;
  175. m_comStar1_2_0.Dispose();
  176. m_comStar1_2_0 = null;
  177. m_comStar1_2_1.Dispose();
  178. m_comStar1_2_1 = null;
  179. m_comStar1_2_2.Dispose();
  180. m_comStar1_2_2 = null;
  181. m_comStar1_2_3.Dispose();
  182. m_comStar1_2_3 = null;
  183. m_comStar1_2_4.Dispose();
  184. m_comStar1_2_4 = null;
  185. m_comStar1_2_5.Dispose();
  186. m_comStar1_2_5 = null;
  187. m_comStar1_2_6.Dispose();
  188. m_comStar1_2_6 = null;
  189. m_comStar1_2_7.Dispose();
  190. m_comStar1_2_7 = null;
  191. m_comStar1_2_8.Dispose();
  192. m_comStar1_2_8 = null;
  193. m_grpComStar2 = null;
  194. if(disposeTarget && target != null)
  195. {
  196. target.RemoveFromParent();
  197. target.Dispose();
  198. }
  199. target = null;
  200. }
  201. }
  202. }