UI_ComFosterBottom.cs 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  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 GButton m_btnStory;
  12. public GTextField m_txtName;
  13. public GButton m_btnLv;
  14. public GButton m_btnStar;
  15. public GButton m_btnSkill;
  16. public GGroup m_grpTab;
  17. public GList m_listProperty;
  18. public GProgressBar m_barLv;
  19. public GTextField m_txtCurLv;
  20. public GTextField m_txtMaxLv;
  21. public GTextField m_txtCurExp;
  22. public GTextField m_txtMaxExp;
  23. public GList m_listLvConsume;
  24. public GComponent m_ComLvConsumeGold;
  25. public GButton m_btnAll;
  26. public GButton m_btnUpLv;
  27. public GGroup m_grpLv;
  28. public UI_ComStarItem m_comStarItem0;
  29. public UI_ComStarItem m_comStarItem1;
  30. public UI_ComStarItem m_comStarItem2;
  31. public UI_ComStarItem m_comStarItem3;
  32. public GTextField m_txtCurStar;
  33. public GTextField m_txtAllStar;
  34. public GList m_listStarConsume;
  35. public GComponent m_comStarCousumeGold;
  36. public GButton m_btnUpStar;
  37. public GComponent m_comTips;
  38. public GList m_listShowCard;
  39. public GGroup m_grpStar;
  40. public GList m_listSkill;
  41. public const string URL = "ui://7l6lvkayj4c69d";
  42. public const string PACKAGE_NAME = "Card";
  43. public const string RES_NAME = "ComFosterBottom";
  44. private static UI_ComFosterBottom _proxy;
  45. public static UI_ComFosterBottom Create(GObject gObject = null)
  46. {
  47. var ui = new UI_ComFosterBottom();
  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_ComFosterBottom Proxy(GObject gObject = null)
  56. {
  57. if(_proxy == null)
  58. {
  59. _proxy = new UI_ComFosterBottom();
  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_ctrlFullStar = comp.GetController("ctrlFullStar");
  84. m_ctrlFullLv = comp.GetController("ctrlFullLv");
  85. m_ctrlTab = comp.GetController("ctrlTab");
  86. m_btnStory = (GButton)comp.GetChild("btnStory");
  87. m_txtName = (GTextField)comp.GetChild("txtName");
  88. m_btnLv = (GButton)comp.GetChild("btnLv");
  89. m_btnStar = (GButton)comp.GetChild("btnStar");
  90. m_btnSkill = (GButton)comp.GetChild("btnSkill");
  91. m_grpTab = (GGroup)comp.GetChild("grpTab");
  92. m_listProperty = (GList)comp.GetChild("listProperty");
  93. m_barLv = (GProgressBar)comp.GetChild("barLv");
  94. m_txtCurLv = (GTextField)comp.GetChild("txtCurLv");
  95. m_txtMaxLv = (GTextField)comp.GetChild("txtMaxLv");
  96. m_txtCurExp = (GTextField)comp.GetChild("txtCurExp");
  97. m_txtMaxExp = (GTextField)comp.GetChild("txtMaxExp");
  98. m_listLvConsume = (GList)comp.GetChild("listLvConsume");
  99. m_ComLvConsumeGold = (GComponent)comp.GetChild("ComLvConsumeGold");
  100. m_btnAll = (GButton)comp.GetChild("btnAll");
  101. m_btnUpLv = (GButton)comp.GetChild("btnUpLv");
  102. m_grpLv = (GGroup)comp.GetChild("grpLv");
  103. m_comStarItem0 = (UI_ComStarItem)UI_ComStarItem.Create(comp.GetChild("comStarItem0"));
  104. m_comStarItem1 = (UI_ComStarItem)UI_ComStarItem.Create(comp.GetChild("comStarItem1"));
  105. m_comStarItem2 = (UI_ComStarItem)UI_ComStarItem.Create(comp.GetChild("comStarItem2"));
  106. m_comStarItem3 = (UI_ComStarItem)UI_ComStarItem.Create(comp.GetChild("comStarItem3"));
  107. m_txtCurStar = (GTextField)comp.GetChild("txtCurStar");
  108. m_txtAllStar = (GTextField)comp.GetChild("txtAllStar");
  109. m_listStarConsume = (GList)comp.GetChild("listStarConsume");
  110. m_comStarCousumeGold = (GComponent)comp.GetChild("comStarCousumeGold");
  111. m_btnUpStar = (GButton)comp.GetChild("btnUpStar");
  112. m_comTips = (GComponent)comp.GetChild("comTips");
  113. m_listShowCard = (GList)comp.GetChild("listShowCard");
  114. m_grpStar = (GGroup)comp.GetChild("grpStar");
  115. m_listSkill = (GList)comp.GetChild("listSkill");
  116. }
  117. public void Dispose(bool disposeTarget = false)
  118. {
  119. m_ctrlFullStar = null;
  120. m_ctrlFullLv = null;
  121. m_ctrlTab = null;
  122. m_btnStory = null;
  123. m_txtName = null;
  124. m_btnLv = null;
  125. m_btnStar = null;
  126. m_btnSkill = null;
  127. m_grpTab = null;
  128. m_listProperty = null;
  129. m_barLv = null;
  130. m_txtCurLv = null;
  131. m_txtMaxLv = null;
  132. m_txtCurExp = null;
  133. m_txtMaxExp = null;
  134. m_listLvConsume = null;
  135. m_ComLvConsumeGold = null;
  136. m_btnAll = null;
  137. m_btnUpLv = null;
  138. m_grpLv = null;
  139. m_comStarItem0.Dispose();
  140. m_comStarItem0 = null;
  141. m_comStarItem1.Dispose();
  142. m_comStarItem1 = null;
  143. m_comStarItem2.Dispose();
  144. m_comStarItem2 = null;
  145. m_comStarItem3.Dispose();
  146. m_comStarItem3 = null;
  147. m_txtCurStar = null;
  148. m_txtAllStar = null;
  149. m_listStarConsume = null;
  150. m_comStarCousumeGold = null;
  151. m_btnUpStar = null;
  152. m_comTips = null;
  153. m_listShowCard = null;
  154. m_grpStar = null;
  155. m_listSkill = null;
  156. if(disposeTarget && target != null)
  157. {
  158. target.RemoveFromParent();
  159. target.Dispose();
  160. }
  161. target = null;
  162. }
  163. }
  164. }