UI_TurnTableUI.cs 6.0 KB

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