UI_TimeTracingLevelInfoUI.cs 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.TimeTracing
  4. {
  5. public partial class UI_TimeTracingLevelInfoUI
  6. {
  7. public GComponent target;
  8. public GLoader m_backBtn;
  9. public GLoader m_btnBg;
  10. public GButton m_btnStart;
  11. public GLoader m_loaderHead;
  12. public GTextField m_txtTargetName;
  13. public GTextField m_txtTitle;
  14. public GTextField m_txtHighestScore;
  15. public UI_CompFlower1 m_flower;
  16. public GLoader m_scoreType;
  17. public GRichTextField m_txtAddition;
  18. public GButton m_btnAdditionDesc;
  19. public GTextField m_txtAdditionDesc;
  20. public GGroup m_grpAdditionDesc;
  21. public GTextField m_txtLevelDesc;
  22. public GList m_listBonus;
  23. public GButton m_btnFightOnce;
  24. public GButton m_btnFightTimes;
  25. public GGroup m_groupPass;
  26. public GTextField m_txtUnpassTips;
  27. public GGroup m_groupUnpass;
  28. public GComponent m_comCostCurrent;
  29. public GTextField m_limitNum;
  30. public GLoader m_addBtn;
  31. public GLoader m_ruleBtn;
  32. public UI_Button7 m_suitAddBtn;
  33. public UI_Button7 m_scoreRewardBtn;
  34. public UI_Button8 m_levelRankBtn;
  35. public const string URL = "ui://gayfh946iwcl22";
  36. public const string PACKAGE_NAME = "TimeTracing";
  37. public const string RES_NAME = "TimeTracingLevelInfoUI";
  38. private static UI_TimeTracingLevelInfoUI _proxy;
  39. public static UI_TimeTracingLevelInfoUI Create(GObject gObject = null)
  40. {
  41. var ui = new UI_TimeTracingLevelInfoUI();
  42. if(gObject == null)
  43. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  44. else
  45. ui.target = (GComponent)gObject;
  46. ui.Init(ui.target);
  47. return ui;
  48. }
  49. public static UI_TimeTracingLevelInfoUI Proxy(GObject gObject = null)
  50. {
  51. if(_proxy == null)
  52. {
  53. _proxy = new UI_TimeTracingLevelInfoUI();
  54. }
  55. var ui = _proxy;
  56. if(gObject == null)
  57. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  58. else
  59. ui.target = (GComponent)gObject;
  60. ui.Init(ui.target);
  61. return ui;
  62. }
  63. public static void ProxyEnd()
  64. {
  65. if (_proxy != null)
  66. {
  67. _proxy.Dispose();
  68. }
  69. }
  70. public static void ClearProxy()
  71. {
  72. ProxyEnd();
  73. _proxy = null;
  74. }
  75. private void Init(GComponent comp)
  76. {
  77. m_backBtn = (GLoader)comp.GetChild("backBtn");
  78. m_btnBg = (GLoader)comp.GetChild("btnBg");
  79. m_btnStart = (GButton)comp.GetChild("btnStart");
  80. m_loaderHead = (GLoader)comp.GetChild("loaderHead");
  81. m_txtTargetName = (GTextField)comp.GetChild("txtTargetName");
  82. m_txtTitle = (GTextField)comp.GetChild("txtTitle");
  83. m_txtHighestScore = (GTextField)comp.GetChild("txtHighestScore");
  84. m_flower = (UI_CompFlower1)UI_CompFlower1.Create(comp.GetChild("flower"));
  85. m_scoreType = (GLoader)comp.GetChild("scoreType");
  86. m_txtAddition = (GRichTextField)comp.GetChild("txtAddition");
  87. m_btnAdditionDesc = (GButton)comp.GetChild("btnAdditionDesc");
  88. m_txtAdditionDesc = (GTextField)comp.GetChild("txtAdditionDesc");
  89. m_grpAdditionDesc = (GGroup)comp.GetChild("grpAdditionDesc");
  90. m_txtLevelDesc = (GTextField)comp.GetChild("txtLevelDesc");
  91. m_listBonus = (GList)comp.GetChild("listBonus");
  92. m_btnFightOnce = (GButton)comp.GetChild("btnFightOnce");
  93. m_btnFightTimes = (GButton)comp.GetChild("btnFightTimes");
  94. m_groupPass = (GGroup)comp.GetChild("groupPass");
  95. m_txtUnpassTips = (GTextField)comp.GetChild("txtUnpassTips");
  96. m_groupUnpass = (GGroup)comp.GetChild("groupUnpass");
  97. m_comCostCurrent = (GComponent)comp.GetChild("comCostCurrent");
  98. m_limitNum = (GTextField)comp.GetChild("limitNum");
  99. m_addBtn = (GLoader)comp.GetChild("addBtn");
  100. m_ruleBtn = (GLoader)comp.GetChild("ruleBtn");
  101. m_suitAddBtn = (UI_Button7)UI_Button7.Create(comp.GetChild("suitAddBtn"));
  102. m_scoreRewardBtn = (UI_Button7)UI_Button7.Create(comp.GetChild("scoreRewardBtn"));
  103. m_levelRankBtn = (UI_Button8)UI_Button8.Create(comp.GetChild("levelRankBtn"));
  104. }
  105. public void Dispose(bool disposeTarget = false)
  106. {
  107. m_backBtn = null;
  108. m_btnBg = null;
  109. m_btnStart = null;
  110. m_loaderHead = null;
  111. m_txtTargetName = null;
  112. m_txtTitle = null;
  113. m_txtHighestScore = null;
  114. m_flower.Dispose();
  115. m_flower = null;
  116. m_scoreType = null;
  117. m_txtAddition = null;
  118. m_btnAdditionDesc = null;
  119. m_txtAdditionDesc = null;
  120. m_grpAdditionDesc = null;
  121. m_txtLevelDesc = null;
  122. m_listBonus = null;
  123. m_btnFightOnce = null;
  124. m_btnFightTimes = null;
  125. m_groupPass = null;
  126. m_txtUnpassTips = null;
  127. m_groupUnpass = null;
  128. m_comCostCurrent = null;
  129. m_limitNum = null;
  130. m_addBtn = null;
  131. m_ruleBtn = null;
  132. m_suitAddBtn.Dispose();
  133. m_suitAddBtn = null;
  134. m_scoreRewardBtn.Dispose();
  135. m_scoreRewardBtn = null;
  136. m_levelRankBtn.Dispose();
  137. m_levelRankBtn = null;
  138. if(disposeTarget && target != null)
  139. {
  140. target.RemoveFromParent();
  141. target.Dispose();
  142. }
  143. target = null;
  144. }
  145. }
  146. }