123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.League
- {
- public partial class UI_LeagueUI
- {
- public GComponent target;
- public GLoader m_loaBg;
- public GButton m_btnBack;
- public GButton m_btnRule;
- public UI_Button3 m_btnMember;
- public UI_Button3 m_btnConstruct;
- public GTextField m_txtLowKeep;
- public GGroup m_grpLowKeep;
- public GTextField m_txtUnionName;
- public UI_ComLeagueHead m_comLeagueHead;
- public GComponent m_comHead;
- public GButton m_btnChangeNotice;
- public GTextField m_txtLeaderName;
- public GTextField m_txtNotice;
- public UI_ButtonModle6 m_btnPray;
- public UI_ButtonModle2 m_btnSkill;
- public UI_ButtonModle3 m_btnGift;
- public UI_ButtonModle4 m_btnAnswer;
- public UI_ButtonModle5 m_btnParty;
- public UI_ButtonModle7 m_btnShop;
- public const string URL = "ui://tw70qm9du2u32";
- public const string PACKAGE_NAME = "League";
- public const string RES_NAME = "LeagueUI";
- private static UI_LeagueUI _proxy;
- public static UI_LeagueUI Create(GObject gObject = null)
- {
- var ui = new UI_LeagueUI();
- if(gObject == null)
- ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
- else
- ui.target = (GComponent)gObject;
- ui.Init(ui.target);
- return ui;
- }
- public static UI_LeagueUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_LeagueUI();
- }
- var ui = _proxy;
- if(gObject == null)
- ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
- else
- ui.target = (GComponent)gObject;
- ui.Init(ui.target);
- return ui;
- }
- public static void ProxyEnd()
- {
- if (_proxy != null)
- {
- _proxy.Dispose();
- }
- }
- public static void ClearProxy()
- {
- ProxyEnd();
- _proxy = null;
- }
- private void Init(GComponent comp)
- {
- m_loaBg = (GLoader)comp.GetChild("loaBg");
- m_btnBack = (GButton)comp.GetChild("btnBack");
- m_btnRule = (GButton)comp.GetChild("btnRule");
- m_btnMember = (UI_Button3)UI_Button3.Create(comp.GetChild("btnMember"));
- m_btnConstruct = (UI_Button3)UI_Button3.Create(comp.GetChild("btnConstruct"));
- m_txtLowKeep = (GTextField)comp.GetChild("txtLowKeep");
- m_grpLowKeep = (GGroup)comp.GetChild("grpLowKeep");
- m_txtUnionName = (GTextField)comp.GetChild("txtUnionName");
- m_comLeagueHead = (UI_ComLeagueHead)UI_ComLeagueHead.Create(comp.GetChild("comLeagueHead"));
- m_comHead = (GComponent)comp.GetChild("comHead");
- m_btnChangeNotice = (GButton)comp.GetChild("btnChangeNotice");
- m_txtLeaderName = (GTextField)comp.GetChild("txtLeaderName");
- m_txtNotice = (GTextField)comp.GetChild("txtNotice");
- m_btnPray = (UI_ButtonModle6)UI_ButtonModle6.Create(comp.GetChild("btnPray"));
- m_btnSkill = (UI_ButtonModle2)UI_ButtonModle2.Create(comp.GetChild("btnSkill"));
- m_btnGift = (UI_ButtonModle3)UI_ButtonModle3.Create(comp.GetChild("btnGift"));
- m_btnAnswer = (UI_ButtonModle4)UI_ButtonModle4.Create(comp.GetChild("btnAnswer"));
- m_btnParty = (UI_ButtonModle5)UI_ButtonModle5.Create(comp.GetChild("btnParty"));
- m_btnShop = (UI_ButtonModle7)UI_ButtonModle7.Create(comp.GetChild("btnShop"));
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_loaBg = null;
- m_btnBack = null;
- m_btnRule = null;
- m_btnMember.Dispose();
- m_btnMember = null;
- m_btnConstruct.Dispose();
- m_btnConstruct = null;
- m_txtLowKeep = null;
- m_grpLowKeep = null;
- m_txtUnionName = null;
- m_comLeagueHead.Dispose();
- m_comLeagueHead = null;
- m_comHead = null;
- m_btnChangeNotice = null;
- m_txtLeaderName = null;
- m_txtNotice = null;
- m_btnPray.Dispose();
- m_btnPray = null;
- m_btnSkill.Dispose();
- m_btnSkill = null;
- m_btnGift.Dispose();
- m_btnGift = null;
- m_btnAnswer.Dispose();
- m_btnAnswer = null;
- m_btnParty.Dispose();
- m_btnParty = null;
- m_btnShop.Dispose();
- m_btnShop = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|