UI_CompChapter.cs 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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_CompChapter
  6. {
  7. public GComponent target;
  8. public GImage m_imgBegin;
  9. public UI_CompStoryLevelItem m_g00;
  10. public UI_CompStoryLevelItem m_g01;
  11. public UI_CompStoryLevelItem m_g02;
  12. public UI_CompStoryLevelItem m_g03;
  13. public UI_CompStoryLevelItem m_g04;
  14. public UI_CompStoryLevelItem m_g05;
  15. public UI_CompStoryLevelItem m_g06;
  16. public UI_CompStoryLevelItem m_g07;
  17. public UI_CompStoryLevelItem m_g08;
  18. public UI_CompStoryLevelItem m_g09;
  19. public UI_CompStoryLevelItem m_g010;
  20. public UI_CompStoryLevelItem m_g011;
  21. public UI_CompStoryLevelItem m_g012;
  22. public UI_CompStoryLevelItem m_g013;
  23. public UI_CompStoryLevelItem m_g014;
  24. public UI_CompStoryLevelItem m_g015;
  25. public UI_CompStoryLevelItem m_g016;
  26. public UI_CompStoryLevelItem m_g017;
  27. public UI_CompStoryLevelItem m_g018;
  28. public UI_CompStoryLevelItem m_g019;
  29. public UI_CompStoryLevelItem m_g020;
  30. public GGraph m_grh19_1;
  31. public GGraph m_grh18_0;
  32. public GGraph m_grh17_0;
  33. public GGraph m_grh16_1;
  34. public GGraph m_grh15_1;
  35. public GGraph m_grh14_0;
  36. public GGraph m_grh13_0;
  37. public GGraph m_grh12_1;
  38. public GGraph m_grh11_1;
  39. public GGraph m_grh10_0;
  40. public GGraph m_grh9_0;
  41. public GGraph m_grh8_0;
  42. public GGraph m_grh7_0;
  43. public GGraph m_grh6_0;
  44. public GGraph m_grh5_0;
  45. public GGraph m_grh4_1;
  46. public GGraph m_grh3_0;
  47. public GGraph m_grh2_0;
  48. public GGraph m_grh1_0;
  49. public GGraph m_grh0_0;
  50. public const string URL = "ui://mfvz4q8ko4m7fr7";
  51. public const string PACKAGE_NAME = "Main";
  52. public const string RES_NAME = "CompChapter";
  53. private static UI_CompChapter _proxy;
  54. public static UI_CompChapter Create(GObject gObject = null)
  55. {
  56. var ui = new UI_CompChapter();
  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 UI_CompChapter Proxy(GObject gObject = null)
  65. {
  66. if(_proxy == null)
  67. {
  68. _proxy = new UI_CompChapter();
  69. }
  70. var ui = _proxy;
  71. if(gObject == null)
  72. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  73. else
  74. ui.target = (GComponent)gObject;
  75. ui.Init(ui.target);
  76. return ui;
  77. }
  78. public static void ProxyEnd()
  79. {
  80. if (_proxy != null)
  81. {
  82. _proxy.Dispose();
  83. }
  84. }
  85. public static void ClearProxy()
  86. {
  87. ProxyEnd();
  88. _proxy = null;
  89. }
  90. private void Init(GComponent comp)
  91. {
  92. m_imgBegin = (GImage)comp.GetChild("imgBegin");
  93. m_g00 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g00"));
  94. m_g01 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g01"));
  95. m_g02 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g02"));
  96. m_g03 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g03"));
  97. m_g04 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g04"));
  98. m_g05 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g05"));
  99. m_g06 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g06"));
  100. m_g07 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g07"));
  101. m_g08 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g08"));
  102. m_g09 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g09"));
  103. m_g010 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g010"));
  104. m_g011 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g011"));
  105. m_g012 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g012"));
  106. m_g013 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g013"));
  107. m_g014 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g014"));
  108. m_g015 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g015"));
  109. m_g016 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g016"));
  110. m_g017 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g017"));
  111. m_g018 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g018"));
  112. m_g019 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g019"));
  113. m_g020 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g020"));
  114. m_grh19_1 = (GGraph)comp.GetChild("grh19_1");
  115. m_grh18_0 = (GGraph)comp.GetChild("grh18_0");
  116. m_grh17_0 = (GGraph)comp.GetChild("grh17_0");
  117. m_grh16_1 = (GGraph)comp.GetChild("grh16_1");
  118. m_grh15_1 = (GGraph)comp.GetChild("grh15_1");
  119. m_grh14_0 = (GGraph)comp.GetChild("grh14_0");
  120. m_grh13_0 = (GGraph)comp.GetChild("grh13_0");
  121. m_grh12_1 = (GGraph)comp.GetChild("grh12_1");
  122. m_grh11_1 = (GGraph)comp.GetChild("grh11_1");
  123. m_grh10_0 = (GGraph)comp.GetChild("grh10_0");
  124. m_grh9_0 = (GGraph)comp.GetChild("grh9_0");
  125. m_grh8_0 = (GGraph)comp.GetChild("grh8_0");
  126. m_grh7_0 = (GGraph)comp.GetChild("grh7_0");
  127. m_grh6_0 = (GGraph)comp.GetChild("grh6_0");
  128. m_grh5_0 = (GGraph)comp.GetChild("grh5_0");
  129. m_grh4_1 = (GGraph)comp.GetChild("grh4_1");
  130. m_grh3_0 = (GGraph)comp.GetChild("grh3_0");
  131. m_grh2_0 = (GGraph)comp.GetChild("grh2_0");
  132. m_grh1_0 = (GGraph)comp.GetChild("grh1_0");
  133. m_grh0_0 = (GGraph)comp.GetChild("grh0_0");
  134. }
  135. public void Dispose(bool disposeTarget = false)
  136. {
  137. m_imgBegin = null;
  138. m_g00.Dispose();
  139. m_g00 = null;
  140. m_g01.Dispose();
  141. m_g01 = null;
  142. m_g02.Dispose();
  143. m_g02 = null;
  144. m_g03.Dispose();
  145. m_g03 = null;
  146. m_g04.Dispose();
  147. m_g04 = null;
  148. m_g05.Dispose();
  149. m_g05 = null;
  150. m_g06.Dispose();
  151. m_g06 = null;
  152. m_g07.Dispose();
  153. m_g07 = null;
  154. m_g08.Dispose();
  155. m_g08 = null;
  156. m_g09.Dispose();
  157. m_g09 = null;
  158. m_g010.Dispose();
  159. m_g010 = null;
  160. m_g011.Dispose();
  161. m_g011 = null;
  162. m_g012.Dispose();
  163. m_g012 = null;
  164. m_g013.Dispose();
  165. m_g013 = null;
  166. m_g014.Dispose();
  167. m_g014 = null;
  168. m_g015.Dispose();
  169. m_g015 = null;
  170. m_g016.Dispose();
  171. m_g016 = null;
  172. m_g017.Dispose();
  173. m_g017 = null;
  174. m_g018.Dispose();
  175. m_g018 = null;
  176. m_g019.Dispose();
  177. m_g019 = null;
  178. m_g020.Dispose();
  179. m_g020 = null;
  180. m_grh19_1 = null;
  181. m_grh18_0 = null;
  182. m_grh17_0 = null;
  183. m_grh16_1 = null;
  184. m_grh15_1 = null;
  185. m_grh14_0 = null;
  186. m_grh13_0 = null;
  187. m_grh12_1 = null;
  188. m_grh11_1 = null;
  189. m_grh10_0 = null;
  190. m_grh9_0 = null;
  191. m_grh8_0 = null;
  192. m_grh7_0 = null;
  193. m_grh6_0 = null;
  194. m_grh5_0 = null;
  195. m_grh4_1 = null;
  196. m_grh3_0 = null;
  197. m_grh2_0 = null;
  198. m_grh1_0 = null;
  199. m_grh0_0 = null;
  200. if(disposeTarget && target != null)
  201. {
  202. target.RemoveFromParent();
  203. target.Dispose();
  204. }
  205. target = null;
  206. }
  207. }
  208. }