UI_ComFosterBottom.cs 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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 GLoader m_loaRarity;
  13. public GTextField m_txtName;
  14. public GButton m_btnLv;
  15. public GButton m_btnStar;
  16. public GButton m_btnSkill;
  17. public GGroup m_grpTab;
  18. public GList m_listProperty;
  19. public GProgressBar m_barLv;
  20. public GTextField m_txtCurLv;
  21. public GTextField m_txtMaxLv;
  22. public GTextField m_txtCurExp;
  23. public GTextField m_txtMaxExp;
  24. public GList m_listLvConsume;
  25. public GComponent m_ComLvConsumeGold;
  26. public GButton m_btnAll;
  27. public GButton m_btnUpLv;
  28. public GGroup m_grpLv;
  29. public UI_ComBigStar m_comStar;
  30. public GList m_listStarConsume;
  31. public GComponent m_comStarCousumeGold;
  32. public GButton m_btnUpStar;
  33. public GComponent m_comTips;
  34. public GList m_listShowCard;
  35. public GGroup m_grpStar;
  36. public GList m_listSkill;
  37. public const string URL = "ui://7l6lvkayj4c69d";
  38. public const string PACKAGE_NAME = "Card";
  39. public const string RES_NAME = "ComFosterBottom";
  40. private static UI_ComFosterBottom _proxy;
  41. public static UI_ComFosterBottom Create(GObject gObject = null)
  42. {
  43. var ui = new UI_ComFosterBottom();
  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_ComFosterBottom Proxy(GObject gObject = null)
  52. {
  53. if(_proxy == null)
  54. {
  55. _proxy = new UI_ComFosterBottom();
  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_ctrlFullStar = comp.GetController("ctrlFullStar");
  80. m_ctrlFullLv = comp.GetController("ctrlFullLv");
  81. m_ctrlTab = comp.GetController("ctrlTab");
  82. m_btnStory = (GButton)comp.GetChild("btnStory");
  83. m_loaRarity = (GLoader)comp.GetChild("loaRarity");
  84. m_txtName = (GTextField)comp.GetChild("txtName");
  85. m_btnLv = (GButton)comp.GetChild("btnLv");
  86. m_btnStar = (GButton)comp.GetChild("btnStar");
  87. m_btnSkill = (GButton)comp.GetChild("btnSkill");
  88. m_grpTab = (GGroup)comp.GetChild("grpTab");
  89. m_listProperty = (GList)comp.GetChild("listProperty");
  90. m_barLv = (GProgressBar)comp.GetChild("barLv");
  91. m_txtCurLv = (GTextField)comp.GetChild("txtCurLv");
  92. m_txtMaxLv = (GTextField)comp.GetChild("txtMaxLv");
  93. m_txtCurExp = (GTextField)comp.GetChild("txtCurExp");
  94. m_txtMaxExp = (GTextField)comp.GetChild("txtMaxExp");
  95. m_listLvConsume = (GList)comp.GetChild("listLvConsume");
  96. m_ComLvConsumeGold = (GComponent)comp.GetChild("ComLvConsumeGold");
  97. m_btnAll = (GButton)comp.GetChild("btnAll");
  98. m_btnUpLv = (GButton)comp.GetChild("btnUpLv");
  99. m_grpLv = (GGroup)comp.GetChild("grpLv");
  100. m_comStar = (UI_ComBigStar)UI_ComBigStar.Create(comp.GetChild("comStar"));
  101. m_listStarConsume = (GList)comp.GetChild("listStarConsume");
  102. m_comStarCousumeGold = (GComponent)comp.GetChild("comStarCousumeGold");
  103. m_btnUpStar = (GButton)comp.GetChild("btnUpStar");
  104. m_comTips = (GComponent)comp.GetChild("comTips");
  105. m_listShowCard = (GList)comp.GetChild("listShowCard");
  106. m_grpStar = (GGroup)comp.GetChild("grpStar");
  107. m_listSkill = (GList)comp.GetChild("listSkill");
  108. }
  109. public void Dispose(bool disposeTarget = false)
  110. {
  111. m_ctrlFullStar = null;
  112. m_ctrlFullLv = null;
  113. m_ctrlTab = null;
  114. m_btnStory = null;
  115. m_loaRarity = null;
  116. m_txtName = null;
  117. m_btnLv = null;
  118. m_btnStar = null;
  119. m_btnSkill = null;
  120. m_grpTab = null;
  121. m_listProperty = null;
  122. m_barLv = null;
  123. m_txtCurLv = null;
  124. m_txtMaxLv = null;
  125. m_txtCurExp = null;
  126. m_txtMaxExp = null;
  127. m_listLvConsume = null;
  128. m_ComLvConsumeGold = null;
  129. m_btnAll = null;
  130. m_btnUpLv = null;
  131. m_grpLv = null;
  132. m_comStar.Dispose();
  133. m_comStar = null;
  134. m_listStarConsume = null;
  135. m_comStarCousumeGold = null;
  136. m_btnUpStar = null;
  137. m_comTips = null;
  138. m_listShowCard = null;
  139. m_grpStar = null;
  140. m_listSkill = null;
  141. if(disposeTarget && target != null)
  142. {
  143. target.RemoveFromParent();
  144. target.Dispose();
  145. }
  146. target = null;
  147. }
  148. }
  149. }