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 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_txtNeed;
  18. public GList m_listTag;
  19. public GRichTextField m_txtAddition;
  20. public GButton m_btnAdditionDesc;
  21. public GTextField m_txtAdditionDesc;
  22. public GGroup m_grpAdditionDesc;
  23. public GTextField m_txtLevelDesc;
  24. public GList m_listBonus;
  25. public GButton m_btnFightOnce;
  26. public GButton m_btnFightTimes;
  27. public GGroup m_groupPass;
  28. public GLoader m_btnGuide;
  29. public GTextField m_txtUnpassTips;
  30. public GGroup m_groupUnpass;
  31. public GLoader m_loaCost;
  32. public GTextField m_txtPowerDesc;
  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_loaderHead = (GLoader)comp.GetChild("loaderHead");
  79. m_txtTargetName = (GTextField)comp.GetChild("txtTargetName");
  80. m_txtTitle = (GTextField)comp.GetChild("txtTitle");
  81. m_txtHighestScore = (GTextField)comp.GetChild("txtHighestScore");
  82. m_flower = (UI_CompFlower1)UI_CompFlower1.Create(comp.GetChild("flower"));
  83. m_scoreType = (GLoader)comp.GetChild("scoreType");
  84. m_txtNeed = (GRichTextField)comp.GetChild("txtNeed");
  85. m_listTag = (GList)comp.GetChild("listTag");
  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_btnGuide = (GLoader)comp.GetChild("btnGuide");
  96. m_txtUnpassTips = (GTextField)comp.GetChild("txtUnpassTips");
  97. m_groupUnpass = (GGroup)comp.GetChild("groupUnpass");
  98. m_loaCost = (GLoader)comp.GetChild("loaCost");
  99. m_txtPowerDesc = (GTextField)comp.GetChild("txtPowerDesc");
  100. }
  101. public void Dispose(bool disposeTarget = false)
  102. {
  103. m_ctrlNeed = null;
  104. m_btnBg = null;
  105. m_btnStart = null;
  106. m_loaderHead = null;
  107. m_txtTargetName = null;
  108. m_txtTitle = null;
  109. m_txtHighestScore = null;
  110. m_flower.Dispose();
  111. m_flower = null;
  112. m_scoreType = null;
  113. m_txtNeed = null;
  114. m_listTag = null;
  115. m_txtAddition = null;
  116. m_btnAdditionDesc = null;
  117. m_txtAdditionDesc = null;
  118. m_grpAdditionDesc = null;
  119. m_txtLevelDesc = null;
  120. m_listBonus = null;
  121. m_btnFightOnce = null;
  122. m_btnFightTimes = null;
  123. m_groupPass = null;
  124. m_btnGuide = null;
  125. m_txtUnpassTips = null;
  126. m_groupUnpass = null;
  127. m_loaCost = null;
  128. m_txtPowerDesc = null;
  129. if(disposeTarget && target != null)
  130. {
  131. target.RemoveFromParent();
  132. target.Dispose();
  133. }
  134. target = null;
  135. }
  136. }
  137. }