/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.League { public partial class UI_LeagueChangeNameUI { public GComponent target; public Controller m_c1; public GButton m_btnClose; public GList m_listIcon; public GTextInput m_txtName; public GButton m_btnChange; public GComponent m_comCost; public const string URL = "ui://tw70qm9du2u34"; public const string PACKAGE_NAME = "League"; public const string RES_NAME = "LeagueChangeNameUI"; private static UI_LeagueChangeNameUI _proxy; public static UI_LeagueChangeNameUI Create(GObject gObject = null) { var ui = new UI_LeagueChangeNameUI(); 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_LeagueChangeNameUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_LeagueChangeNameUI(); } 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_c1 = comp.GetController("c1"); m_btnClose = (GButton)comp.GetChild("btnClose"); m_listIcon = (GList)comp.GetChild("listIcon"); m_txtName = (GTextInput)comp.GetChild("txtName"); m_btnChange = (GButton)comp.GetChild("btnChange"); m_comCost = (GComponent)comp.GetChild("comCost"); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_btnClose = null; m_listIcon = null; m_txtName = null; m_btnChange = null; m_comCost = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }