UI_ComFosterBottom.cs 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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_ComBigStar m_comStar;
  29. public GList m_listStarConsume;
  30. public GComponent m_comStarCousumeGold;
  31. public GButton m_btnUpStar;
  32. public GComponent m_comTips;
  33. public GList m_listShowCard;
  34. public GGroup m_grpStar;
  35. public GList m_listSkill;
  36. public const string URL = "ui://7l6lvkayj4c69d";
  37. public const string PACKAGE_NAME = "Card";
  38. public const string RES_NAME = "ComFosterBottom";
  39. private static UI_ComFosterBottom _proxy;
  40. public static UI_ComFosterBottom Create(GObject gObject = null)
  41. {
  42. var ui = new UI_ComFosterBottom();
  43. if(gObject == null)
  44. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  45. else
  46. ui.target = (GComponent)gObject;
  47. ui.Init(ui.target);
  48. return ui;
  49. }
  50. public static UI_ComFosterBottom Proxy(GObject gObject = null)
  51. {
  52. if(_proxy == null)
  53. {
  54. _proxy = new UI_ComFosterBottom();
  55. }
  56. var ui = _proxy;
  57. if(gObject == null)
  58. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  59. else
  60. ui.target = (GComponent)gObject;
  61. ui.Init(ui.target);
  62. return ui;
  63. }
  64. public static void ProxyEnd()
  65. {
  66. if (_proxy != null)
  67. {
  68. _proxy.Dispose();
  69. }
  70. }
  71. public static void ClearProxy()
  72. {
  73. ProxyEnd();
  74. _proxy = null;
  75. }
  76. private void Init(GComponent comp)
  77. {
  78. m_ctrlFullStar = comp.GetController("ctrlFullStar");
  79. m_ctrlFullLv = comp.GetController("ctrlFullLv");
  80. m_ctrlTab = comp.GetController("ctrlTab");
  81. m_btnStory = (GButton)comp.GetChild("btnStory");
  82. m_txtName = (GTextField)comp.GetChild("txtName");
  83. m_btnLv = (GButton)comp.GetChild("btnLv");
  84. m_btnStar = (GButton)comp.GetChild("btnStar");
  85. m_btnSkill = (GButton)comp.GetChild("btnSkill");
  86. m_grpTab = (GGroup)comp.GetChild("grpTab");
  87. m_listProperty = (GList)comp.GetChild("listProperty");
  88. m_barLv = (GProgressBar)comp.GetChild("barLv");
  89. m_txtCurLv = (GTextField)comp.GetChild("txtCurLv");
  90. m_txtMaxLv = (GTextField)comp.GetChild("txtMaxLv");
  91. m_txtCurExp = (GTextField)comp.GetChild("txtCurExp");
  92. m_txtMaxExp = (GTextField)comp.GetChild("txtMaxExp");
  93. m_listLvConsume = (GList)comp.GetChild("listLvConsume");
  94. m_ComLvConsumeGold = (GComponent)comp.GetChild("ComLvConsumeGold");
  95. m_btnAll = (GButton)comp.GetChild("btnAll");
  96. m_btnUpLv = (GButton)comp.GetChild("btnUpLv");
  97. m_grpLv = (GGroup)comp.GetChild("grpLv");
  98. m_comStar = (UI_ComBigStar)UI_ComBigStar.Create(comp.GetChild("comStar"));
  99. m_listStarConsume = (GList)comp.GetChild("listStarConsume");
  100. m_comStarCousumeGold = (GComponent)comp.GetChild("comStarCousumeGold");
  101. m_btnUpStar = (GButton)comp.GetChild("btnUpStar");
  102. m_comTips = (GComponent)comp.GetChild("comTips");
  103. m_listShowCard = (GList)comp.GetChild("listShowCard");
  104. m_grpStar = (GGroup)comp.GetChild("grpStar");
  105. m_listSkill = (GList)comp.GetChild("listSkill");
  106. }
  107. public void Dispose(bool disposeTarget = false)
  108. {
  109. m_ctrlFullStar = null;
  110. m_ctrlFullLv = null;
  111. m_ctrlTab = null;
  112. m_btnStory = null;
  113. m_txtName = null;
  114. m_btnLv = null;
  115. m_btnStar = null;
  116. m_btnSkill = null;
  117. m_grpTab = null;
  118. m_listProperty = null;
  119. m_barLv = null;
  120. m_txtCurLv = null;
  121. m_txtMaxLv = null;
  122. m_txtCurExp = null;
  123. m_txtMaxExp = null;
  124. m_listLvConsume = null;
  125. m_ComLvConsumeGold = null;
  126. m_btnAll = null;
  127. m_btnUpLv = null;
  128. m_grpLv = null;
  129. m_comStar.Dispose();
  130. m_comStar = null;
  131. m_listStarConsume = null;
  132. m_comStarCousumeGold = null;
  133. m_btnUpStar = null;
  134. m_comTips = null;
  135. m_listShowCard = null;
  136. m_grpStar = null;
  137. m_listSkill = null;
  138. if(disposeTarget && target != null)
  139. {
  140. target.RemoveFromParent();
  141. target.Dispose();
  142. }
  143. target = null;
  144. }
  145. }
  146. }