UI_ComFosterBottom.cs 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.Card
  4. {
  5. public partial class UI_ComFosterBottom
  6. {
  7. public GComponent target;
  8. public Controller m_ctrlFullStar;
  9. public Controller m_ctrlFullLv;
  10. public Controller m_ctrlTab;
  11. public Controller m_ctrlSkillCount;
  12. public GLoader m_loaRarity;
  13. public GTextField m_txtName0;
  14. public GTextField m_txtName1;
  15. public GTextField m_txtName2;
  16. public GTextField m_txtName3;
  17. public GTextField m_txtName4;
  18. public GProgressBar m_barLv;
  19. public GTextField m_txtCurLv;
  20. public GTextField m_txtMaxLv;
  21. public GList m_listLvConsume;
  22. public GButton m_btnAll;
  23. public GButton m_btnClearAll;
  24. public GButton m_btnUpLv;
  25. public GComponent m_ComLvConsumeGold;
  26. public GTextField m_txtCurExp;
  27. public GTextField m_txtMaxExp;
  28. public GGroup m_grpLv;
  29. public GButton m_btnUpStar;
  30. public GComponent m_comStarCousumeGold;
  31. public GTextField m_txtTips;
  32. public GList m_listStarConsume;
  33. public UI_ComStarItem m_comStarItem0;
  34. public UI_ComStarItem m_comStarItem1;
  35. public UI_ComStarItem m_comStarItem2;
  36. public UI_ComStarItem m_comStarItem3;
  37. public GList m_listShowCard;
  38. public GGroup m_grpStar;
  39. public GList m_listSkill;
  40. public GButton m_btnUpSkillLv;
  41. public GGroup m_grpSkill;
  42. public GButton m_btnLv;
  43. public GButton m_btnStar;
  44. public GButton m_btnSkill;
  45. public GGroup m_grpTab;
  46. public GList m_listProperty;
  47. public const string URL = "ui://7l6lvkayj4c69d";
  48. public const string PACKAGE_NAME = "Card";
  49. public const string RES_NAME = "ComFosterBottom";
  50. private static UI_ComFosterBottom _proxy;
  51. public static UI_ComFosterBottom Create(GObject gObject = null)
  52. {
  53. var ui = new UI_ComFosterBottom();
  54. if(gObject == null)
  55. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  56. else
  57. ui.target = (GComponent)gObject;
  58. ui.Init(ui.target);
  59. return ui;
  60. }
  61. public static UI_ComFosterBottom Proxy(GObject gObject = null)
  62. {
  63. if(_proxy == null)
  64. {
  65. _proxy = new UI_ComFosterBottom();
  66. }
  67. var ui = _proxy;
  68. if(gObject == null)
  69. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  70. else
  71. ui.target = (GComponent)gObject;
  72. ui.Init(ui.target);
  73. return ui;
  74. }
  75. public static void ProxyEnd()
  76. {
  77. if (_proxy != null)
  78. {
  79. _proxy.Dispose();
  80. }
  81. }
  82. public static void ClearProxy()
  83. {
  84. ProxyEnd();
  85. _proxy = null;
  86. }
  87. private void Init(GComponent comp)
  88. {
  89. m_ctrlFullStar = comp.GetController("ctrlFullStar");
  90. m_ctrlFullLv = comp.GetController("ctrlFullLv");
  91. m_ctrlTab = comp.GetController("ctrlTab");
  92. m_ctrlSkillCount = comp.GetController("ctrlSkillCount");
  93. m_loaRarity = (GLoader)comp.GetChild("loaRarity");
  94. m_txtName0 = (GTextField)comp.GetChild("txtName0");
  95. m_txtName1 = (GTextField)comp.GetChild("txtName1");
  96. m_txtName2 = (GTextField)comp.GetChild("txtName2");
  97. m_txtName3 = (GTextField)comp.GetChild("txtName3");
  98. m_txtName4 = (GTextField)comp.GetChild("txtName4");
  99. m_barLv = (GProgressBar)comp.GetChild("barLv");
  100. m_txtCurLv = (GTextField)comp.GetChild("txtCurLv");
  101. m_txtMaxLv = (GTextField)comp.GetChild("txtMaxLv");
  102. m_listLvConsume = (GList)comp.GetChild("listLvConsume");
  103. m_btnAll = (GButton)comp.GetChild("btnAll");
  104. m_btnClearAll = (GButton)comp.GetChild("btnClearAll");
  105. m_btnUpLv = (GButton)comp.GetChild("btnUpLv");
  106. m_ComLvConsumeGold = (GComponent)comp.GetChild("ComLvConsumeGold");
  107. m_txtCurExp = (GTextField)comp.GetChild("txtCurExp");
  108. m_txtMaxExp = (GTextField)comp.GetChild("txtMaxExp");
  109. m_grpLv = (GGroup)comp.GetChild("grpLv");
  110. m_btnUpStar = (GButton)comp.GetChild("btnUpStar");
  111. m_comStarCousumeGold = (GComponent)comp.GetChild("comStarCousumeGold");
  112. m_txtTips = (GTextField)comp.GetChild("txtTips");
  113. m_listStarConsume = (GList)comp.GetChild("listStarConsume");
  114. m_comStarItem0 = (UI_ComStarItem)UI_ComStarItem.Create(comp.GetChild("comStarItem0"));
  115. m_comStarItem1 = (UI_ComStarItem)UI_ComStarItem.Create(comp.GetChild("comStarItem1"));
  116. m_comStarItem2 = (UI_ComStarItem)UI_ComStarItem.Create(comp.GetChild("comStarItem2"));
  117. m_comStarItem3 = (UI_ComStarItem)UI_ComStarItem.Create(comp.GetChild("comStarItem3"));
  118. m_listShowCard = (GList)comp.GetChild("listShowCard");
  119. m_grpStar = (GGroup)comp.GetChild("grpStar");
  120. m_listSkill = (GList)comp.GetChild("listSkill");
  121. m_btnUpSkillLv = (GButton)comp.GetChild("btnUpSkillLv");
  122. m_grpSkill = (GGroup)comp.GetChild("grpSkill");
  123. m_btnLv = (GButton)comp.GetChild("btnLv");
  124. m_btnStar = (GButton)comp.GetChild("btnStar");
  125. m_btnSkill = (GButton)comp.GetChild("btnSkill");
  126. m_grpTab = (GGroup)comp.GetChild("grpTab");
  127. m_listProperty = (GList)comp.GetChild("listProperty");
  128. }
  129. public void Dispose(bool disposeTarget = false)
  130. {
  131. m_ctrlFullStar = null;
  132. m_ctrlFullLv = null;
  133. m_ctrlTab = null;
  134. m_ctrlSkillCount = null;
  135. m_loaRarity = null;
  136. m_txtName0 = null;
  137. m_txtName1 = null;
  138. m_txtName2 = null;
  139. m_txtName3 = null;
  140. m_txtName4 = null;
  141. m_barLv = null;
  142. m_txtCurLv = null;
  143. m_txtMaxLv = null;
  144. m_listLvConsume = null;
  145. m_btnAll = null;
  146. m_btnClearAll = null;
  147. m_btnUpLv = null;
  148. m_ComLvConsumeGold = null;
  149. m_txtCurExp = null;
  150. m_txtMaxExp = null;
  151. m_grpLv = null;
  152. m_btnUpStar = null;
  153. m_comStarCousumeGold = null;
  154. m_txtTips = null;
  155. m_listStarConsume = null;
  156. m_comStarItem0.Dispose();
  157. m_comStarItem0 = null;
  158. m_comStarItem1.Dispose();
  159. m_comStarItem1 = null;
  160. m_comStarItem2.Dispose();
  161. m_comStarItem2 = null;
  162. m_comStarItem3.Dispose();
  163. m_comStarItem3 = null;
  164. m_listShowCard = null;
  165. m_grpStar = null;
  166. m_listSkill = null;
  167. m_btnUpSkillLv = null;
  168. m_grpSkill = null;
  169. m_btnLv = null;
  170. m_btnStar = null;
  171. m_btnSkill = null;
  172. m_grpTab = null;
  173. m_listProperty = null;
  174. if(disposeTarget && target != null)
  175. {
  176. target.RemoveFromParent();
  177. target.Dispose();
  178. }
  179. target = null;
  180. }
  181. }
  182. }