UI_LeagueUI.cs 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.League
  4. {
  5. public partial class UI_LeagueUI
  6. {
  7. public GComponent target;
  8. public GLoader m_loaBg;
  9. public GButton m_btnBack;
  10. public GButton m_btnRule;
  11. public UI_Button3 m_btnMember;
  12. public UI_Button3 m_btnConstruct;
  13. public GTextField m_txtLowKeep;
  14. public GGroup m_grpLowKeep;
  15. public GTextField m_txtUnionName;
  16. public UI_ComLeagueHead m_comLeagueHead;
  17. public GComponent m_comHead;
  18. public GButton m_btnChangeNotice;
  19. public GTextField m_txtLeaderName;
  20. public GButton m_btnChat;
  21. public UI_comTxtNotice m_comtxtNotice;
  22. public UI_ButtonModle6 m_btnPray;
  23. public UI_ButtonModle2 m_btnSkill;
  24. public UI_ButtonModle3 m_btnGift;
  25. public UI_ButtonModle4 m_btnAnswer;
  26. public UI_ButtonModle5 m_btnParty;
  27. public UI_ButtonModle7 m_btnShop;
  28. public const string URL = "ui://tw70qm9du2u32";
  29. public const string PACKAGE_NAME = "League";
  30. public const string RES_NAME = "LeagueUI";
  31. private static UI_LeagueUI _proxy;
  32. public static UI_LeagueUI Create(GObject gObject = null)
  33. {
  34. var ui = new UI_LeagueUI();
  35. if(gObject == null)
  36. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  37. else
  38. ui.target = (GComponent)gObject;
  39. ui.Init(ui.target);
  40. return ui;
  41. }
  42. public static UI_LeagueUI Proxy(GObject gObject = null)
  43. {
  44. if(_proxy == null)
  45. {
  46. _proxy = new UI_LeagueUI();
  47. }
  48. var ui = _proxy;
  49. if(gObject == null)
  50. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  51. else
  52. ui.target = (GComponent)gObject;
  53. ui.Init(ui.target);
  54. return ui;
  55. }
  56. public static void ProxyEnd()
  57. {
  58. if (_proxy != null)
  59. {
  60. _proxy.Dispose();
  61. }
  62. }
  63. public static void ClearProxy()
  64. {
  65. ProxyEnd();
  66. _proxy = null;
  67. }
  68. private void Init(GComponent comp)
  69. {
  70. m_loaBg = (GLoader)comp.GetChild("loaBg");
  71. m_btnBack = (GButton)comp.GetChild("btnBack");
  72. m_btnRule = (GButton)comp.GetChild("btnRule");
  73. m_btnMember = (UI_Button3)UI_Button3.Create(comp.GetChild("btnMember"));
  74. m_btnConstruct = (UI_Button3)UI_Button3.Create(comp.GetChild("btnConstruct"));
  75. m_txtLowKeep = (GTextField)comp.GetChild("txtLowKeep");
  76. m_grpLowKeep = (GGroup)comp.GetChild("grpLowKeep");
  77. m_txtUnionName = (GTextField)comp.GetChild("txtUnionName");
  78. m_comLeagueHead = (UI_ComLeagueHead)UI_ComLeagueHead.Create(comp.GetChild("comLeagueHead"));
  79. m_comHead = (GComponent)comp.GetChild("comHead");
  80. m_btnChangeNotice = (GButton)comp.GetChild("btnChangeNotice");
  81. m_txtLeaderName = (GTextField)comp.GetChild("txtLeaderName");
  82. m_btnChat = (GButton)comp.GetChild("btnChat");
  83. m_comtxtNotice = (UI_comTxtNotice)UI_comTxtNotice.Create(comp.GetChild("comtxtNotice"));
  84. m_btnPray = (UI_ButtonModle6)UI_ButtonModle6.Create(comp.GetChild("btnPray"));
  85. m_btnSkill = (UI_ButtonModle2)UI_ButtonModle2.Create(comp.GetChild("btnSkill"));
  86. m_btnGift = (UI_ButtonModle3)UI_ButtonModle3.Create(comp.GetChild("btnGift"));
  87. m_btnAnswer = (UI_ButtonModle4)UI_ButtonModle4.Create(comp.GetChild("btnAnswer"));
  88. m_btnParty = (UI_ButtonModle5)UI_ButtonModle5.Create(comp.GetChild("btnParty"));
  89. m_btnShop = (UI_ButtonModle7)UI_ButtonModle7.Create(comp.GetChild("btnShop"));
  90. }
  91. public void Dispose(bool disposeTarget = false)
  92. {
  93. m_loaBg = null;
  94. m_btnBack = null;
  95. m_btnRule = null;
  96. m_btnMember.Dispose();
  97. m_btnMember = null;
  98. m_btnConstruct.Dispose();
  99. m_btnConstruct = null;
  100. m_txtLowKeep = null;
  101. m_grpLowKeep = null;
  102. m_txtUnionName = null;
  103. m_comLeagueHead.Dispose();
  104. m_comLeagueHead = null;
  105. m_comHead = null;
  106. m_btnChangeNotice = null;
  107. m_txtLeaderName = null;
  108. m_btnChat = null;
  109. m_comtxtNotice.Dispose();
  110. m_comtxtNotice = null;
  111. m_btnPray.Dispose();
  112. m_btnPray = null;
  113. m_btnSkill.Dispose();
  114. m_btnSkill = null;
  115. m_btnGift.Dispose();
  116. m_btnGift = null;
  117. m_btnAnswer.Dispose();
  118. m_btnAnswer = null;
  119. m_btnParty.Dispose();
  120. m_btnParty = null;
  121. m_btnShop.Dispose();
  122. m_btnShop = null;
  123. if(disposeTarget && target != null)
  124. {
  125. target.RemoveFromParent();
  126. target.Dispose();
  127. }
  128. target = null;
  129. }
  130. }
  131. }