UI_LeagueUI.cs 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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 GGraph m_holderfBgEff;
  29. public const string URL = "ui://tw70qm9du2u32";
  30. public const string PACKAGE_NAME = "League";
  31. public const string RES_NAME = "LeagueUI";
  32. private static UI_LeagueUI _proxy;
  33. public static UI_LeagueUI Create(GObject gObject = null)
  34. {
  35. var ui = new UI_LeagueUI();
  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_LeagueUI Proxy(GObject gObject = null)
  44. {
  45. if(_proxy == null)
  46. {
  47. _proxy = new UI_LeagueUI();
  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_btnBack = (GButton)comp.GetChild("btnBack");
  73. m_btnRule = (GButton)comp.GetChild("btnRule");
  74. m_btnMember = (UI_Button3)UI_Button3.Create(comp.GetChild("btnMember"));
  75. m_btnConstruct = (UI_Button3)UI_Button3.Create(comp.GetChild("btnConstruct"));
  76. m_txtLowKeep = (GTextField)comp.GetChild("txtLowKeep");
  77. m_grpLowKeep = (GGroup)comp.GetChild("grpLowKeep");
  78. m_txtUnionName = (GTextField)comp.GetChild("txtUnionName");
  79. m_comLeagueHead = (UI_ComLeagueHead)UI_ComLeagueHead.Create(comp.GetChild("comLeagueHead"));
  80. m_comHead = (GComponent)comp.GetChild("comHead");
  81. m_btnChangeNotice = (GButton)comp.GetChild("btnChangeNotice");
  82. m_txtLeaderName = (GTextField)comp.GetChild("txtLeaderName");
  83. m_btnChat = (GButton)comp.GetChild("btnChat");
  84. m_comtxtNotice = (UI_comTxtNotice)UI_comTxtNotice.Create(comp.GetChild("comtxtNotice"));
  85. m_btnPray = (UI_ButtonModle6)UI_ButtonModle6.Create(comp.GetChild("btnPray"));
  86. m_btnSkill = (UI_ButtonModle2)UI_ButtonModle2.Create(comp.GetChild("btnSkill"));
  87. m_btnGift = (UI_ButtonModle3)UI_ButtonModle3.Create(comp.GetChild("btnGift"));
  88. m_btnAnswer = (UI_ButtonModle4)UI_ButtonModle4.Create(comp.GetChild("btnAnswer"));
  89. m_btnParty = (UI_ButtonModle5)UI_ButtonModle5.Create(comp.GetChild("btnParty"));
  90. m_btnShop = (UI_ButtonModle7)UI_ButtonModle7.Create(comp.GetChild("btnShop"));
  91. m_holderfBgEff = (GGraph)comp.GetChild("holderfBgEff");
  92. }
  93. public void Dispose(bool disposeTarget = false)
  94. {
  95. m_loaBg = null;
  96. m_btnBack = null;
  97. m_btnRule = null;
  98. m_btnMember.Dispose();
  99. m_btnMember = null;
  100. m_btnConstruct.Dispose();
  101. m_btnConstruct = null;
  102. m_txtLowKeep = null;
  103. m_grpLowKeep = null;
  104. m_txtUnionName = null;
  105. m_comLeagueHead.Dispose();
  106. m_comLeagueHead = null;
  107. m_comHead = null;
  108. m_btnChangeNotice = null;
  109. m_txtLeaderName = null;
  110. m_btnChat = null;
  111. m_comtxtNotice.Dispose();
  112. m_comtxtNotice = null;
  113. m_btnPray.Dispose();
  114. m_btnPray = null;
  115. m_btnSkill.Dispose();
  116. m_btnSkill = null;
  117. m_btnGift.Dispose();
  118. m_btnGift = null;
  119. m_btnAnswer.Dispose();
  120. m_btnAnswer = null;
  121. m_btnParty.Dispose();
  122. m_btnParty = null;
  123. m_btnShop.Dispose();
  124. m_btnShop = null;
  125. m_holderfBgEff = null;
  126. if(disposeTarget && target != null)
  127. {
  128. target.RemoveFromParent();
  129. target.Dispose();
  130. }
  131. target = null;
  132. }
  133. }
  134. }