UI_CompChapter10007.cs 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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_CompChapter10007
  6. {
  7. public GComponent target;
  8. public GLoader m_loaBg;
  9. public UI_CompStoryLevelItem m_g1;
  10. public UI_CompStoryLevelItem m_g2;
  11. public UI_CompStoryLevelItem m_g3;
  12. public UI_CompStoryLevelItem m_g4;
  13. public UI_CompStoryLevelItem m_g5;
  14. public UI_CompStoryLevelItem m_g6;
  15. public UI_CompStoryLevelItem m_g7;
  16. public UI_CompStoryLevelItem m_g8;
  17. public UI_CompStoryLevelItem m_g9;
  18. public UI_CompStoryLevelItem m_g10;
  19. public UI_CompStoryLevelItem m_g11;
  20. public UI_CompStoryLevelItem m_g12;
  21. public UI_CompStoryLevelItem m_g13;
  22. public UI_CompStoryLevelItem m_g14;
  23. public UI_CompStoryLevelItem m_g15;
  24. public UI_CompStoryLevelItem m_g16;
  25. public UI_CompStoryLevelItem m_g17;
  26. public UI_CompStoryLevelItem m_g18;
  27. public UI_CompStoryLevelItem m_g19;
  28. public UI_CompStoryLevelItem m_g20;
  29. public const string URL = "ui://mfvz4q8k11ndfpw";
  30. public const string PACKAGE_NAME = "Main";
  31. public const string RES_NAME = "CompChapter10007";
  32. private static UI_CompChapter10007 _proxy;
  33. public static UI_CompChapter10007 Create(GObject gObject = null)
  34. {
  35. var ui = new UI_CompChapter10007();
  36. if(gObject == null)
  37. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  38. else
  39. ui.target = (GComponent)gObject;
  40. ui.Init(ui.target);
  41. return ui;
  42. }
  43. public static UI_CompChapter10007 Proxy(GObject gObject = null)
  44. {
  45. if(_proxy == null)
  46. {
  47. _proxy = new UI_CompChapter10007();
  48. }
  49. var ui = _proxy;
  50. if(gObject == null)
  51. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  52. else
  53. ui.target = (GComponent)gObject;
  54. ui.Init(ui.target);
  55. return ui;
  56. }
  57. public static void ProxyEnd()
  58. {
  59. if (_proxy != null)
  60. {
  61. _proxy.Dispose();
  62. }
  63. }
  64. public static void ClearProxy()
  65. {
  66. ProxyEnd();
  67. _proxy = null;
  68. }
  69. private void Init(GComponent comp)
  70. {
  71. m_loaBg = (GLoader)comp.GetChild("loaBg");
  72. m_g1 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g1"));
  73. m_g2 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g2"));
  74. m_g3 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g3"));
  75. m_g4 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g4"));
  76. m_g5 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g5"));
  77. m_g6 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g6"));
  78. m_g7 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g7"));
  79. m_g8 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g8"));
  80. m_g9 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g9"));
  81. m_g10 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g10"));
  82. m_g11 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g11"));
  83. m_g12 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g12"));
  84. m_g13 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g13"));
  85. m_g14 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g14"));
  86. m_g15 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g15"));
  87. m_g16 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g16"));
  88. m_g17 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g17"));
  89. m_g18 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g18"));
  90. m_g19 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g19"));
  91. m_g20 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g20"));
  92. }
  93. public void Dispose(bool disposeTarget = false)
  94. {
  95. m_loaBg = null;
  96. m_g1.Dispose();
  97. m_g1 = null;
  98. m_g2.Dispose();
  99. m_g2 = null;
  100. m_g3.Dispose();
  101. m_g3 = null;
  102. m_g4.Dispose();
  103. m_g4 = null;
  104. m_g5.Dispose();
  105. m_g5 = null;
  106. m_g6.Dispose();
  107. m_g6 = null;
  108. m_g7.Dispose();
  109. m_g7 = null;
  110. m_g8.Dispose();
  111. m_g8 = null;
  112. m_g9.Dispose();
  113. m_g9 = null;
  114. m_g10.Dispose();
  115. m_g10 = null;
  116. m_g11.Dispose();
  117. m_g11 = null;
  118. m_g12.Dispose();
  119. m_g12 = null;
  120. m_g13.Dispose();
  121. m_g13 = null;
  122. m_g14.Dispose();
  123. m_g14 = null;
  124. m_g15.Dispose();
  125. m_g15 = null;
  126. m_g16.Dispose();
  127. m_g16 = null;
  128. m_g17.Dispose();
  129. m_g17 = null;
  130. m_g18.Dispose();
  131. m_g18 = null;
  132. m_g19.Dispose();
  133. m_g19 = null;
  134. m_g20.Dispose();
  135. m_g20 = null;
  136. if(disposeTarget && target != null)
  137. {
  138. target.RemoveFromParent();
  139. target.Dispose();
  140. }
  141. target = null;
  142. }
  143. }
  144. }