UI_MainUI.cs 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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_MainUI
  6. {
  7. public GComponent target;
  8. public GComponent m_valueBar;
  9. public UI_ComponentHeadBar m_headBar;
  10. public UI_Button2 m_btnDailyLogin;
  11. public UI_ButtonModle1 m_btnMain;
  12. public UI_ButtonModle1 m_btnHuanZhuang;
  13. public UI_ButtonModle1 m_btnXiuFang;
  14. public UI_ButtonModle1 m_btnCiPai;
  15. public UI_ButtonModle1 m_btnZhaiXing;
  16. public UI_Component7 m_loaRight;
  17. public GList m_list;
  18. public UI_ButtonChange m_btnChange;
  19. public GGroup m_grpList;
  20. public GGroup m_grpLeft;
  21. public UI_ButtonModle6 m_btn0;
  22. public UI_ButtonModle7 m_btn1;
  23. public UI_ButtonModle2 m_btnStudio;
  24. public UI_ButtonModle3 m_btnTravel;
  25. public UI_ButtonModle5 m_btnPoem;
  26. public UI_ButtonModle4 m_btnField;
  27. public UI_Component7 m_loaLeft;
  28. public GGroup m_grpRight;
  29. public GGroup m_grpMove;
  30. public GLoader m_loaGuidestudio;
  31. public Transition m_t1;
  32. public Transition m_t2;
  33. public Transition m_t3;
  34. public Transition m_t4;
  35. public Transition m_t16;
  36. public const string URL = "ui://mfvz4q8kq08x0";
  37. public const string PACKAGE_NAME = "Main";
  38. public const string RES_NAME = "MainUI";
  39. private static UI_MainUI _proxy;
  40. public static UI_MainUI Create(GObject gObject = null)
  41. {
  42. var ui = new UI_MainUI();
  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_MainUI Proxy(GObject gObject = null)
  51. {
  52. if(_proxy == null)
  53. {
  54. _proxy = new UI_MainUI();
  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_valueBar = (GComponent)comp.GetChild("valueBar");
  79. m_headBar = (UI_ComponentHeadBar)UI_ComponentHeadBar.Create(comp.GetChild("headBar"));
  80. m_btnDailyLogin = (UI_Button2)UI_Button2.Create(comp.GetChild("btnDailyLogin"));
  81. m_btnMain = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnMain"));
  82. m_btnHuanZhuang = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnHuanZhuang"));
  83. m_btnXiuFang = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnXiuFang"));
  84. m_btnCiPai = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnCiPai"));
  85. m_btnZhaiXing = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnZhaiXing"));
  86. m_loaRight = (UI_Component7)UI_Component7.Create(comp.GetChild("loaRight"));
  87. m_list = (GList)comp.GetChild("list");
  88. m_btnChange = (UI_ButtonChange)UI_ButtonChange.Create(comp.GetChild("btnChange"));
  89. m_grpList = (GGroup)comp.GetChild("grpList");
  90. m_grpLeft = (GGroup)comp.GetChild("grpLeft");
  91. m_btn0 = (UI_ButtonModle6)UI_ButtonModle6.Create(comp.GetChild("btn0"));
  92. m_btn1 = (UI_ButtonModle7)UI_ButtonModle7.Create(comp.GetChild("btn1"));
  93. m_btnStudio = (UI_ButtonModle2)UI_ButtonModle2.Create(comp.GetChild("btnStudio"));
  94. m_btnTravel = (UI_ButtonModle3)UI_ButtonModle3.Create(comp.GetChild("btnTravel"));
  95. m_btnPoem = (UI_ButtonModle5)UI_ButtonModle5.Create(comp.GetChild("btnPoem"));
  96. m_btnField = (UI_ButtonModle4)UI_ButtonModle4.Create(comp.GetChild("btnField"));
  97. m_loaLeft = (UI_Component7)UI_Component7.Create(comp.GetChild("loaLeft"));
  98. m_grpRight = (GGroup)comp.GetChild("grpRight");
  99. m_grpMove = (GGroup)comp.GetChild("grpMove");
  100. m_loaGuidestudio = (GLoader)comp.GetChild("loaGuidestudio");
  101. m_t1 = comp.GetTransition("t1");
  102. m_t2 = comp.GetTransition("t2");
  103. m_t3 = comp.GetTransition("t3");
  104. m_t4 = comp.GetTransition("t4");
  105. m_t16 = comp.GetTransition("t16");
  106. }
  107. public void Dispose(bool disposeTarget = false)
  108. {
  109. m_valueBar = null;
  110. m_headBar.Dispose();
  111. m_headBar = null;
  112. m_btnDailyLogin.Dispose();
  113. m_btnDailyLogin = null;
  114. m_btnMain.Dispose();
  115. m_btnMain = null;
  116. m_btnHuanZhuang.Dispose();
  117. m_btnHuanZhuang = null;
  118. m_btnXiuFang.Dispose();
  119. m_btnXiuFang = null;
  120. m_btnCiPai.Dispose();
  121. m_btnCiPai = null;
  122. m_btnZhaiXing.Dispose();
  123. m_btnZhaiXing = null;
  124. m_loaRight.Dispose();
  125. m_loaRight = null;
  126. m_list = null;
  127. m_btnChange.Dispose();
  128. m_btnChange = null;
  129. m_grpList = null;
  130. m_grpLeft = null;
  131. m_btn0.Dispose();
  132. m_btn0 = null;
  133. m_btn1.Dispose();
  134. m_btn1 = null;
  135. m_btnStudio.Dispose();
  136. m_btnStudio = null;
  137. m_btnTravel.Dispose();
  138. m_btnTravel = null;
  139. m_btnPoem.Dispose();
  140. m_btnPoem = null;
  141. m_btnField.Dispose();
  142. m_btnField = null;
  143. m_loaLeft.Dispose();
  144. m_loaLeft = null;
  145. m_grpRight = null;
  146. m_grpMove = null;
  147. m_loaGuidestudio = null;
  148. m_t1 = null;
  149. m_t2 = null;
  150. m_t3 = null;
  151. m_t4 = null;
  152. m_t16 = null;
  153. if(disposeTarget && target != null)
  154. {
  155. target.RemoveFromParent();
  156. target.Dispose();
  157. }
  158. target = null;
  159. }
  160. }
  161. }