UI_TurnTableUI.cs 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.TurnTable
  4. {
  5. public partial class UI_TurnTableUI
  6. {
  7. public GComponent target;
  8. public GLoader m_bg;
  9. public GGraph m_bgEffect;
  10. public GGraph m_bgEffec1;
  11. public GLoader m_iconBg;
  12. public UI_rewardItem m_item0;
  13. public UI_rewardItem m_item1;
  14. public UI_rewardItem m_item2;
  15. public UI_rewardItem m_item3;
  16. public UI_rewardItem m_item4;
  17. public UI_rewardItem m_item5;
  18. public UI_rewardItem m_item6;
  19. public UI_rewardItem m_item7;
  20. public UI_rewardItem m_item8;
  21. public UI_rewardItem m_item9;
  22. public GLoader m_pointer2;
  23. public GLoader m_pointer1;
  24. public GLoader m_pointer0;
  25. public GLoader m_rewardIcon;
  26. public GGraph m_specialEffect;
  27. public UI_Component1 m_reward;
  28. public GLoader m_numberBg;
  29. public GTextField m_numberText;
  30. public GButton m_btnStartOne;
  31. public GGraph m_btnEffectOne;
  32. public GButton m_btnStartThree;
  33. public GGraph m_btnEffectThree;
  34. public GTextField m_timeText;
  35. public GButton m_ruleBtn;
  36. public GGraph m_titleEffect;
  37. public GButton m_shopBtn;
  38. public GButton m_giftBtn;
  39. public GTextField m_giftTimeText;
  40. public GGroup m_gift;
  41. public GComponent m_valueBar;
  42. public GGraph m_bgEffec2;
  43. public GGraph m_bgEffec3;
  44. public GButton m_btnBack;
  45. public const string URL = "ui://zioq0m8xtvgdg";
  46. public const string PACKAGE_NAME = "TurnTable";
  47. public const string RES_NAME = "TurnTableUI";
  48. private static UI_TurnTableUI _proxy;
  49. public static UI_TurnTableUI Create(GObject gObject = null)
  50. {
  51. var ui = new UI_TurnTableUI();
  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_TurnTableUI Proxy(GObject gObject = null)
  60. {
  61. if(_proxy == null)
  62. {
  63. _proxy = new UI_TurnTableUI();
  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_bg = (GLoader)comp.GetChild("bg");
  88. m_bgEffect = (GGraph)comp.GetChild("bgEffect");
  89. m_bgEffec1 = (GGraph)comp.GetChild("bgEffec1");
  90. m_iconBg = (GLoader)comp.GetChild("iconBg");
  91. m_item0 = (UI_rewardItem)UI_rewardItem.Create(comp.GetChild("item0"));
  92. m_item1 = (UI_rewardItem)UI_rewardItem.Create(comp.GetChild("item1"));
  93. m_item2 = (UI_rewardItem)UI_rewardItem.Create(comp.GetChild("item2"));
  94. m_item3 = (UI_rewardItem)UI_rewardItem.Create(comp.GetChild("item3"));
  95. m_item4 = (UI_rewardItem)UI_rewardItem.Create(comp.GetChild("item4"));
  96. m_item5 = (UI_rewardItem)UI_rewardItem.Create(comp.GetChild("item5"));
  97. m_item6 = (UI_rewardItem)UI_rewardItem.Create(comp.GetChild("item6"));
  98. m_item7 = (UI_rewardItem)UI_rewardItem.Create(comp.GetChild("item7"));
  99. m_item8 = (UI_rewardItem)UI_rewardItem.Create(comp.GetChild("item8"));
  100. m_item9 = (UI_rewardItem)UI_rewardItem.Create(comp.GetChild("item9"));
  101. m_pointer2 = (GLoader)comp.GetChild("pointer2");
  102. m_pointer1 = (GLoader)comp.GetChild("pointer1");
  103. m_pointer0 = (GLoader)comp.GetChild("pointer0");
  104. m_rewardIcon = (GLoader)comp.GetChild("rewardIcon");
  105. m_specialEffect = (GGraph)comp.GetChild("specialEffect");
  106. m_reward = (UI_Component1)UI_Component1.Create(comp.GetChild("reward"));
  107. m_numberBg = (GLoader)comp.GetChild("numberBg");
  108. m_numberText = (GTextField)comp.GetChild("numberText");
  109. m_btnStartOne = (GButton)comp.GetChild("btnStartOne");
  110. m_btnEffectOne = (GGraph)comp.GetChild("btnEffectOne");
  111. m_btnStartThree = (GButton)comp.GetChild("btnStartThree");
  112. m_btnEffectThree = (GGraph)comp.GetChild("btnEffectThree");
  113. m_timeText = (GTextField)comp.GetChild("timeText");
  114. m_ruleBtn = (GButton)comp.GetChild("ruleBtn");
  115. m_titleEffect = (GGraph)comp.GetChild("titleEffect");
  116. m_shopBtn = (GButton)comp.GetChild("shopBtn");
  117. m_giftBtn = (GButton)comp.GetChild("giftBtn");
  118. m_giftTimeText = (GTextField)comp.GetChild("giftTimeText");
  119. m_gift = (GGroup)comp.GetChild("gift");
  120. m_valueBar = (GComponent)comp.GetChild("valueBar");
  121. m_bgEffec2 = (GGraph)comp.GetChild("bgEffec2");
  122. m_bgEffec3 = (GGraph)comp.GetChild("bgEffec3");
  123. m_btnBack = (GButton)comp.GetChild("btnBack");
  124. }
  125. public void Dispose(bool disposeTarget = false)
  126. {
  127. m_bg = null;
  128. m_bgEffect = null;
  129. m_bgEffec1 = null;
  130. m_iconBg = null;
  131. m_item0.Dispose();
  132. m_item0 = null;
  133. m_item1.Dispose();
  134. m_item1 = null;
  135. m_item2.Dispose();
  136. m_item2 = null;
  137. m_item3.Dispose();
  138. m_item3 = null;
  139. m_item4.Dispose();
  140. m_item4 = null;
  141. m_item5.Dispose();
  142. m_item5 = null;
  143. m_item6.Dispose();
  144. m_item6 = null;
  145. m_item7.Dispose();
  146. m_item7 = null;
  147. m_item8.Dispose();
  148. m_item8 = null;
  149. m_item9.Dispose();
  150. m_item9 = null;
  151. m_pointer2 = null;
  152. m_pointer1 = null;
  153. m_pointer0 = null;
  154. m_rewardIcon = null;
  155. m_specialEffect = null;
  156. m_reward.Dispose();
  157. m_reward = null;
  158. m_numberBg = null;
  159. m_numberText = null;
  160. m_btnStartOne = null;
  161. m_btnEffectOne = null;
  162. m_btnStartThree = null;
  163. m_btnEffectThree = null;
  164. m_timeText = null;
  165. m_ruleBtn = null;
  166. m_titleEffect = null;
  167. m_shopBtn = null;
  168. m_giftBtn = null;
  169. m_giftTimeText = null;
  170. m_gift = null;
  171. m_valueBar = null;
  172. m_bgEffec2 = null;
  173. m_bgEffec3 = null;
  174. m_btnBack = null;
  175. if(disposeTarget && target != null)
  176. {
  177. target.RemoveFromParent();
  178. target.Dispose();
  179. }
  180. target = null;
  181. }
  182. }
  183. }