UI_TurnTableUI.cs 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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 UI_Component1 m_reward;
  26. public GLoader m_numberBg;
  27. public GTextField m_numberText;
  28. public GButton m_btnStartOne;
  29. public GGraph m_btnEffectOne;
  30. public GButton m_btnStartThree;
  31. public GGraph m_btnEffectThree;
  32. public GTextField m_timeText;
  33. public GButton m_ruleBtn;
  34. public GGraph m_titleEffect;
  35. public GButton m_shopBtn;
  36. public GButton m_giftBtn;
  37. public GTextField m_giftTimeText;
  38. public GGroup m_gift;
  39. public GComponent m_valueBar;
  40. public GButton m_btnBack;
  41. public const string URL = "ui://zioq0m8xtvgdg";
  42. public const string PACKAGE_NAME = "TurnTable";
  43. public const string RES_NAME = "TurnTableUI";
  44. private static UI_TurnTableUI _proxy;
  45. public static UI_TurnTableUI Create(GObject gObject = null)
  46. {
  47. var ui = new UI_TurnTableUI();
  48. if(gObject == null)
  49. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  50. else
  51. ui.target = (GComponent)gObject;
  52. ui.Init(ui.target);
  53. return ui;
  54. }
  55. public static UI_TurnTableUI Proxy(GObject gObject = null)
  56. {
  57. if(_proxy == null)
  58. {
  59. _proxy = new UI_TurnTableUI();
  60. }
  61. var ui = _proxy;
  62. if(gObject == null)
  63. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  64. else
  65. ui.target = (GComponent)gObject;
  66. ui.Init(ui.target);
  67. return ui;
  68. }
  69. public static void ProxyEnd()
  70. {
  71. if (_proxy != null)
  72. {
  73. _proxy.Dispose();
  74. }
  75. }
  76. public static void ClearProxy()
  77. {
  78. ProxyEnd();
  79. _proxy = null;
  80. }
  81. private void Init(GComponent comp)
  82. {
  83. m_bg = (GLoader)comp.GetChild("bg");
  84. m_bgEffect = (GGraph)comp.GetChild("bgEffect");
  85. m_iconBg = (GLoader)comp.GetChild("iconBg");
  86. m_item0 = (UI_rewardItem)UI_rewardItem.Create(comp.GetChild("item0"));
  87. m_item1 = (UI_rewardItem)UI_rewardItem.Create(comp.GetChild("item1"));
  88. m_item2 = (UI_rewardItem)UI_rewardItem.Create(comp.GetChild("item2"));
  89. m_item3 = (UI_rewardItem)UI_rewardItem.Create(comp.GetChild("item3"));
  90. m_item4 = (UI_rewardItem)UI_rewardItem.Create(comp.GetChild("item4"));
  91. m_item5 = (UI_rewardItem)UI_rewardItem.Create(comp.GetChild("item5"));
  92. m_item6 = (UI_rewardItem)UI_rewardItem.Create(comp.GetChild("item6"));
  93. m_item7 = (UI_rewardItem)UI_rewardItem.Create(comp.GetChild("item7"));
  94. m_item8 = (UI_rewardItem)UI_rewardItem.Create(comp.GetChild("item8"));
  95. m_item9 = (UI_rewardItem)UI_rewardItem.Create(comp.GetChild("item9"));
  96. m_pointer2 = (GLoader)comp.GetChild("pointer2");
  97. m_pointer1 = (GLoader)comp.GetChild("pointer1");
  98. m_pointer0 = (GLoader)comp.GetChild("pointer0");
  99. m_rewardIcon = (GLoader)comp.GetChild("rewardIcon");
  100. m_reward = (UI_Component1)UI_Component1.Create(comp.GetChild("reward"));
  101. m_numberBg = (GLoader)comp.GetChild("numberBg");
  102. m_numberText = (GTextField)comp.GetChild("numberText");
  103. m_btnStartOne = (GButton)comp.GetChild("btnStartOne");
  104. m_btnEffectOne = (GGraph)comp.GetChild("btnEffectOne");
  105. m_btnStartThree = (GButton)comp.GetChild("btnStartThree");
  106. m_btnEffectThree = (GGraph)comp.GetChild("btnEffectThree");
  107. m_timeText = (GTextField)comp.GetChild("timeText");
  108. m_ruleBtn = (GButton)comp.GetChild("ruleBtn");
  109. m_titleEffect = (GGraph)comp.GetChild("titleEffect");
  110. m_shopBtn = (GButton)comp.GetChild("shopBtn");
  111. m_giftBtn = (GButton)comp.GetChild("giftBtn");
  112. m_giftTimeText = (GTextField)comp.GetChild("giftTimeText");
  113. m_gift = (GGroup)comp.GetChild("gift");
  114. m_valueBar = (GComponent)comp.GetChild("valueBar");
  115. m_btnBack = (GButton)comp.GetChild("btnBack");
  116. }
  117. public void Dispose(bool disposeTarget = false)
  118. {
  119. m_bg = null;
  120. m_bgEffect = null;
  121. m_iconBg = null;
  122. m_item0.Dispose();
  123. m_item0 = null;
  124. m_item1.Dispose();
  125. m_item1 = null;
  126. m_item2.Dispose();
  127. m_item2 = null;
  128. m_item3.Dispose();
  129. m_item3 = null;
  130. m_item4.Dispose();
  131. m_item4 = null;
  132. m_item5.Dispose();
  133. m_item5 = null;
  134. m_item6.Dispose();
  135. m_item6 = null;
  136. m_item7.Dispose();
  137. m_item7 = null;
  138. m_item8.Dispose();
  139. m_item8 = null;
  140. m_item9.Dispose();
  141. m_item9 = null;
  142. m_pointer2 = null;
  143. m_pointer1 = null;
  144. m_pointer0 = null;
  145. m_rewardIcon = null;
  146. m_reward.Dispose();
  147. m_reward = null;
  148. m_numberBg = null;
  149. m_numberText = null;
  150. m_btnStartOne = null;
  151. m_btnEffectOne = null;
  152. m_btnStartThree = null;
  153. m_btnEffectThree = null;
  154. m_timeText = null;
  155. m_ruleBtn = null;
  156. m_titleEffect = null;
  157. m_shopBtn = null;
  158. m_giftBtn = null;
  159. m_giftTimeText = null;
  160. m_gift = null;
  161. m_valueBar = null;
  162. m_btnBack = null;
  163. if(disposeTarget && target != null)
  164. {
  165. target.RemoveFromParent();
  166. target.Dispose();
  167. }
  168. target = null;
  169. }
  170. }
  171. }