/** 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 GTextField m_txtUnionName; public UI_ComLeagueHead m_comLeagueHead; public GTextField m_txtLeaderName; public GComponent m_comHead; public GButton m_btnChangeNotice; public GTextField m_txtName; public GTextField m_txtNotice; public UI_ButtonModle6 m_btnPray; public UI_ButtonModle2 m_btnSkill; public UI_ButtonModle4 m_btnAnswer; 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_txtUnionName = (GTextField)comp.GetChild("txtUnionName"); m_comLeagueHead = (UI_ComLeagueHead)UI_ComLeagueHead.Create(comp.GetChild("comLeagueHead")); m_txtLeaderName = (GTextField)comp.GetChild("txtLeaderName"); m_comHead = (GComponent)comp.GetChild("comHead"); m_btnChangeNotice = (GButton)comp.GetChild("btnChangeNotice"); m_txtName = (GTextField)comp.GetChild("txtName"); 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_btnAnswer = (UI_ButtonModle4)UI_ButtonModle4.Create(comp.GetChild("btnAnswer")); } 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_txtUnionName = null; m_comLeagueHead.Dispose(); m_comLeagueHead = null; m_txtLeaderName = null; m_comHead = null; m_btnChangeNotice = null; m_txtName = null; m_txtNotice = null; m_btnPray.Dispose(); m_btnPray = null; m_btnSkill.Dispose(); m_btnSkill = null; m_btnAnswer.Dispose(); m_btnAnswer = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }