/** 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 GTextField m_txtUnionName; public GLoader m_loaUnionIcon; public GTextField m_txtUnionLv; public GComponent m_comHead; public GTextField m_txtLeaderName; public GTextField m_txtNotice; public GButton m_btnChangeNotice; public GButton m_btnMember; public GButton m_btnConstruct; 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_txtUnionName = (GTextField)comp.GetChild("txtUnionName"); m_loaUnionIcon = (GLoader)comp.GetChild("loaUnionIcon"); m_txtUnionLv = (GTextField)comp.GetChild("txtUnionLv"); m_comHead = (GComponent)comp.GetChild("comHead"); m_txtLeaderName = (GTextField)comp.GetChild("txtLeaderName"); m_txtNotice = (GTextField)comp.GetChild("txtNotice"); m_btnChangeNotice = (GButton)comp.GetChild("btnChangeNotice"); m_btnMember = (GButton)comp.GetChild("btnMember"); m_btnConstruct = (GButton)comp.GetChild("btnConstruct"); } public void Dispose(bool disposeTarget = false) { m_loaBg = null; m_btnback = null; m_txtUnionName = null; m_loaUnionIcon = null; m_txtUnionLv = null; m_comHead = null; m_txtLeaderName = null; m_txtNotice = null; m_btnChangeNotice = null; m_btnMember = null; m_btnConstruct = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }