UI_CompChapterScroll.cs 5.8 KB

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