UI_LeagueUI.cs 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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 GTextField m_txtNotice;
  21. public UI_ButtonModle6 m_btnPray;
  22. public UI_ButtonModle2 m_btnSkill;
  23. public UI_ButtonModle3 m_btnGift;
  24. public UI_ButtonModle4 m_btnAnswer;
  25. public UI_ButtonModle5 m_btnParty;
  26. public UI_ButtonModle7 m_btnShop;
  27. public const string URL = "ui://tw70qm9du2u32";
  28. public const string PACKAGE_NAME = "League";
  29. public const string RES_NAME = "LeagueUI";
  30. private static UI_LeagueUI _proxy;
  31. public static UI_LeagueUI Create(GObject gObject = null)
  32. {
  33. var ui = new UI_LeagueUI();
  34. if(gObject == null)
  35. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  36. else
  37. ui.target = (GComponent)gObject;
  38. ui.Init(ui.target);
  39. return ui;
  40. }
  41. public static UI_LeagueUI Proxy(GObject gObject = null)
  42. {
  43. if(_proxy == null)
  44. {
  45. _proxy = new UI_LeagueUI();
  46. }
  47. var ui = _proxy;
  48. if(gObject == null)
  49. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  50. else
  51. ui.target = (GComponent)gObject;
  52. ui.Init(ui.target);
  53. return ui;
  54. }
  55. public static void ProxyEnd()
  56. {
  57. if (_proxy != null)
  58. {
  59. _proxy.Dispose();
  60. }
  61. }
  62. public static void ClearProxy()
  63. {
  64. ProxyEnd();
  65. _proxy = null;
  66. }
  67. private void Init(GComponent comp)
  68. {
  69. m_loaBg = (GLoader)comp.GetChild("loaBg");
  70. m_btnBack = (GButton)comp.GetChild("btnBack");
  71. m_btnRule = (GButton)comp.GetChild("btnRule");
  72. m_btnMember = (UI_Button3)UI_Button3.Create(comp.GetChild("btnMember"));
  73. m_btnConstruct = (UI_Button3)UI_Button3.Create(comp.GetChild("btnConstruct"));
  74. m_txtLowKeep = (GTextField)comp.GetChild("txtLowKeep");
  75. m_grpLowKeep = (GGroup)comp.GetChild("grpLowKeep");
  76. m_txtUnionName = (GTextField)comp.GetChild("txtUnionName");
  77. m_comLeagueHead = (UI_ComLeagueHead)UI_ComLeagueHead.Create(comp.GetChild("comLeagueHead"));
  78. m_comHead = (GComponent)comp.GetChild("comHead");
  79. m_btnChangeNotice = (GButton)comp.GetChild("btnChangeNotice");
  80. m_txtLeaderName = (GTextField)comp.GetChild("txtLeaderName");
  81. m_txtNotice = (GTextField)comp.GetChild("txtNotice");
  82. m_btnPray = (UI_ButtonModle6)UI_ButtonModle6.Create(comp.GetChild("btnPray"));
  83. m_btnSkill = (UI_ButtonModle2)UI_ButtonModle2.Create(comp.GetChild("btnSkill"));
  84. m_btnGift = (UI_ButtonModle3)UI_ButtonModle3.Create(comp.GetChild("btnGift"));
  85. m_btnAnswer = (UI_ButtonModle4)UI_ButtonModle4.Create(comp.GetChild("btnAnswer"));
  86. m_btnParty = (UI_ButtonModle5)UI_ButtonModle5.Create(comp.GetChild("btnParty"));
  87. m_btnShop = (UI_ButtonModle7)UI_ButtonModle7.Create(comp.GetChild("btnShop"));
  88. }
  89. public void Dispose(bool disposeTarget = false)
  90. {
  91. m_loaBg = null;
  92. m_btnBack = null;
  93. m_btnRule = null;
  94. m_btnMember.Dispose();
  95. m_btnMember = null;
  96. m_btnConstruct.Dispose();
  97. m_btnConstruct = null;
  98. m_txtLowKeep = null;
  99. m_grpLowKeep = null;
  100. m_txtUnionName = null;
  101. m_comLeagueHead.Dispose();
  102. m_comLeagueHead = null;
  103. m_comHead = null;
  104. m_btnChangeNotice = null;
  105. m_txtLeaderName = null;
  106. m_txtNotice = null;
  107. m_btnPray.Dispose();
  108. m_btnPray = null;
  109. m_btnSkill.Dispose();
  110. m_btnSkill = null;
  111. m_btnGift.Dispose();
  112. m_btnGift = null;
  113. m_btnAnswer.Dispose();
  114. m_btnAnswer = null;
  115. m_btnParty.Dispose();
  116. m_btnParty = null;
  117. m_btnShop.Dispose();
  118. m_btnShop = null;
  119. if(disposeTarget && target != null)
  120. {
  121. target.RemoveFromParent();
  122. target.Dispose();
  123. }
  124. target = null;
  125. }
  126. }
  127. }