UI_StoryChapterUI.cs 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  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_StoryChapterUI
  6. {
  7. public GComponent target;
  8. public GLoader m_loaBg;
  9. public GGraph m_bgEffect;
  10. public UI_CompChapter m_chapter;
  11. public GComponent m_valueBar;
  12. public GButton m_btnBack;
  13. public GButton m_btnHome;
  14. public GTextField m_txtChapter;
  15. public GLoader m_txtBg;
  16. public GTextField m_txtChapterName0;
  17. public GTextField m_txtChapterName1;
  18. public GTextField m_txtChapterName2;
  19. public GTextField m_txtChapterName3;
  20. public GTextField m_txtChapterName4;
  21. public GGroup m_selectChapter;
  22. public UI_CompBonusBox m_bonusBox3;
  23. public UI_CompBonusBox m_bonusBox2;
  24. public UI_CompBonusBox m_bonusBox1;
  25. public GTextField m_txtStarCount;
  26. public GGroup m_bonusBox;
  27. public UI_Component9 m_switchChapter;
  28. public GTextField m_ZCJBTimeText;
  29. public GGroup m_ActivityZCJB;
  30. public GLoader m_suitBg;
  31. public GTextField m_suitText;
  32. public GLoader m_suitIcon;
  33. public GTextField m_suitNum;
  34. public GGroup m_targetSuit;
  35. public Transition m_t0;
  36. public const string URL = "ui://mfvz4q8km7n51u";
  37. public const string PACKAGE_NAME = "Main";
  38. public const string RES_NAME = "StoryChapterUI";
  39. private static UI_StoryChapterUI _proxy;
  40. public static UI_StoryChapterUI Create(GObject gObject = null)
  41. {
  42. var ui = new UI_StoryChapterUI();
  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_StoryChapterUI Proxy(GObject gObject = null)
  51. {
  52. if(_proxy == null)
  53. {
  54. _proxy = new UI_StoryChapterUI();
  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_loaBg = (GLoader)comp.GetChild("loaBg");
  79. m_bgEffect = (GGraph)comp.GetChild("bgEffect");
  80. m_chapter = (UI_CompChapter)UI_CompChapter.Create(comp.GetChild("chapter"));
  81. m_valueBar = (GComponent)comp.GetChild("valueBar");
  82. m_btnBack = (GButton)comp.GetChild("btnBack");
  83. m_btnHome = (GButton)comp.GetChild("btnHome");
  84. m_txtChapter = (GTextField)comp.GetChild("txtChapter");
  85. m_txtBg = (GLoader)comp.GetChild("txtBg");
  86. m_txtChapterName0 = (GTextField)comp.GetChild("txtChapterName0");
  87. m_txtChapterName1 = (GTextField)comp.GetChild("txtChapterName1");
  88. m_txtChapterName2 = (GTextField)comp.GetChild("txtChapterName2");
  89. m_txtChapterName3 = (GTextField)comp.GetChild("txtChapterName3");
  90. m_txtChapterName4 = (GTextField)comp.GetChild("txtChapterName4");
  91. m_selectChapter = (GGroup)comp.GetChild("selectChapter");
  92. m_bonusBox3 = (UI_CompBonusBox)UI_CompBonusBox.Create(comp.GetChild("bonusBox3"));
  93. m_bonusBox2 = (UI_CompBonusBox)UI_CompBonusBox.Create(comp.GetChild("bonusBox2"));
  94. m_bonusBox1 = (UI_CompBonusBox)UI_CompBonusBox.Create(comp.GetChild("bonusBox1"));
  95. m_txtStarCount = (GTextField)comp.GetChild("txtStarCount");
  96. m_bonusBox = (GGroup)comp.GetChild("bonusBox");
  97. m_switchChapter = (UI_Component9)UI_Component9.Create(comp.GetChild("switchChapter"));
  98. m_ZCJBTimeText = (GTextField)comp.GetChild("ZCJBTimeText");
  99. m_ActivityZCJB = (GGroup)comp.GetChild("ActivityZCJB");
  100. m_suitBg = (GLoader)comp.GetChild("suitBg");
  101. m_suitText = (GTextField)comp.GetChild("suitText");
  102. m_suitIcon = (GLoader)comp.GetChild("suitIcon");
  103. m_suitNum = (GTextField)comp.GetChild("suitNum");
  104. m_targetSuit = (GGroup)comp.GetChild("targetSuit");
  105. m_t0 = comp.GetTransition("t0");
  106. }
  107. public void Dispose(bool disposeTarget = false)
  108. {
  109. m_loaBg = null;
  110. m_bgEffect = null;
  111. m_chapter.Dispose();
  112. m_chapter = null;
  113. m_valueBar = null;
  114. m_btnBack = null;
  115. m_btnHome = null;
  116. m_txtChapter = null;
  117. m_txtBg = null;
  118. m_txtChapterName0 = null;
  119. m_txtChapterName1 = null;
  120. m_txtChapterName2 = null;
  121. m_txtChapterName3 = null;
  122. m_txtChapterName4 = null;
  123. m_selectChapter = null;
  124. m_bonusBox3.Dispose();
  125. m_bonusBox3 = null;
  126. m_bonusBox2.Dispose();
  127. m_bonusBox2 = null;
  128. m_bonusBox1.Dispose();
  129. m_bonusBox1 = null;
  130. m_txtStarCount = null;
  131. m_bonusBox = null;
  132. m_switchChapter.Dispose();
  133. m_switchChapter = null;
  134. m_ZCJBTimeText = null;
  135. m_ActivityZCJB = null;
  136. m_suitBg = null;
  137. m_suitText = null;
  138. m_suitIcon = null;
  139. m_suitNum = null;
  140. m_targetSuit = null;
  141. m_t0 = null;
  142. if(disposeTarget && target != null)
  143. {
  144. target.RemoveFromParent();
  145. target.Dispose();
  146. }
  147. target = null;
  148. }
  149. }
  150. }