UI_TurnTableUI.cs 6.7 KB

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