UI_StoryLevelInfoUI.cs 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.Main
  4. {
  5. public partial class UI_StoryLevelInfoUI
  6. {
  7. public GComponent target;
  8. public Controller m_ctrlNeed;
  9. public GLoader m_btnBg;
  10. public GButton m_btnStart;
  11. public GTextField m_txtTitle;
  12. public GTextField m_txtHighestScore;
  13. public UI_CompFlower1 m_flower;
  14. public GLoader m_scoreType;
  15. public GRichTextField m_txtNeed;
  16. public GList m_listTag;
  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 GLoader m_loaderHead;
  23. public GTextField m_txtTargetName;
  24. public GLoader m_loaCost;
  25. public GTextField m_txtPowerDesc;
  26. public GButton m_btnFightOnce;
  27. public GButton m_btnFightTimes;
  28. public GGroup m_groupPass;
  29. public GList m_listBonus;
  30. public GLoader m_btnGuide;
  31. public GTextField m_txtUnpassTips;
  32. public GGroup m_groupUnpass;
  33. public const string URL = "ui://mfvz4q8kvxw538";
  34. public const string PACKAGE_NAME = "Main";
  35. public const string RES_NAME = "StoryLevelInfoUI";
  36. private static UI_StoryLevelInfoUI _proxy;
  37. public static UI_StoryLevelInfoUI Create(GObject gObject = null)
  38. {
  39. var ui = new UI_StoryLevelInfoUI();
  40. if(gObject == null)
  41. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  42. else
  43. ui.target = (GComponent)gObject;
  44. ui.Init(ui.target);
  45. return ui;
  46. }
  47. public static UI_StoryLevelInfoUI Proxy(GObject gObject = null)
  48. {
  49. if(_proxy == null)
  50. {
  51. _proxy = new UI_StoryLevelInfoUI();
  52. }
  53. var ui = _proxy;
  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 void ProxyEnd()
  62. {
  63. if (_proxy != null)
  64. {
  65. _proxy.Dispose();
  66. }
  67. }
  68. public static void ClearProxy()
  69. {
  70. ProxyEnd();
  71. _proxy = null;
  72. }
  73. private void Init(GComponent comp)
  74. {
  75. m_ctrlNeed = comp.GetController("ctrlNeed");
  76. m_btnBg = (GLoader)comp.GetChild("btnBg");
  77. m_btnStart = (GButton)comp.GetChild("btnStart");
  78. m_txtTitle = (GTextField)comp.GetChild("txtTitle");
  79. m_txtHighestScore = (GTextField)comp.GetChild("txtHighestScore");
  80. m_flower = (UI_CompFlower1)UI_CompFlower1.Create(comp.GetChild("flower"));
  81. m_scoreType = (GLoader)comp.GetChild("scoreType");
  82. m_txtNeed = (GRichTextField)comp.GetChild("txtNeed");
  83. m_listTag = (GList)comp.GetChild("listTag");
  84. m_txtAddition = (GRichTextField)comp.GetChild("txtAddition");
  85. m_btnAdditionDesc = (GButton)comp.GetChild("btnAdditionDesc");
  86. m_txtAdditionDesc = (GTextField)comp.GetChild("txtAdditionDesc");
  87. m_grpAdditionDesc = (GGroup)comp.GetChild("grpAdditionDesc");
  88. m_txtLevelDesc = (GTextField)comp.GetChild("txtLevelDesc");
  89. m_loaderHead = (GLoader)comp.GetChild("loaderHead");
  90. m_txtTargetName = (GTextField)comp.GetChild("txtTargetName");
  91. m_loaCost = (GLoader)comp.GetChild("loaCost");
  92. m_txtPowerDesc = (GTextField)comp.GetChild("txtPowerDesc");
  93. m_btnFightOnce = (GButton)comp.GetChild("btnFightOnce");
  94. m_btnFightTimes = (GButton)comp.GetChild("btnFightTimes");
  95. m_groupPass = (GGroup)comp.GetChild("groupPass");
  96. m_listBonus = (GList)comp.GetChild("listBonus");
  97. m_btnGuide = (GLoader)comp.GetChild("btnGuide");
  98. m_txtUnpassTips = (GTextField)comp.GetChild("txtUnpassTips");
  99. m_groupUnpass = (GGroup)comp.GetChild("groupUnpass");
  100. }
  101. public void Dispose(bool disposeTarget = false)
  102. {
  103. m_ctrlNeed = null;
  104. m_btnBg = null;
  105. m_btnStart = null;
  106. m_txtTitle = null;
  107. m_txtHighestScore = null;
  108. m_flower.Dispose();
  109. m_flower = null;
  110. m_scoreType = null;
  111. m_txtNeed = null;
  112. m_listTag = null;
  113. m_txtAddition = null;
  114. m_btnAdditionDesc = null;
  115. m_txtAdditionDesc = null;
  116. m_grpAdditionDesc = null;
  117. m_txtLevelDesc = null;
  118. m_loaderHead = null;
  119. m_txtTargetName = null;
  120. m_loaCost = null;
  121. m_txtPowerDesc = null;
  122. m_btnFightOnce = null;
  123. m_btnFightTimes = null;
  124. m_groupPass = null;
  125. m_listBonus = null;
  126. m_btnGuide = null;
  127. m_txtUnpassTips = null;
  128. m_groupUnpass = null;
  129. if(disposeTarget && target != null)
  130. {
  131. target.RemoveFromParent();
  132. target.Dispose();
  133. }
  134. target = null;
  135. }
  136. }
  137. }