/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.League { public partial class UI_LeagueTeaPartyUI { public GComponent target; public GLoader m_loaBg; public GButton m_btnBack; public GButton m_btnChallenge; public GButton m_btnChat; public GButton m_btnReward; public GButton m_btnRule; public GTextField m_txtTeaName; public GList m_ListTeaParty; public UI_TeaPartyItemTips m_teaPartyItemTips; public const string URL = "ui://tw70qm9dchwotpk"; public const string PACKAGE_NAME = "League"; public const string RES_NAME = "LeagueTeaPartyUI"; private static UI_LeagueTeaPartyUI _proxy; public static UI_LeagueTeaPartyUI Create(GObject gObject = null) { var ui = new UI_LeagueTeaPartyUI(); 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_LeagueTeaPartyUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_LeagueTeaPartyUI(); } 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_btnChallenge = (GButton)comp.GetChild("btnChallenge"); m_btnChat = (GButton)comp.GetChild("btnChat"); m_btnReward = (GButton)comp.GetChild("btnReward"); m_btnRule = (GButton)comp.GetChild("btnRule"); m_txtTeaName = (GTextField)comp.GetChild("txtTeaName"); m_ListTeaParty = (GList)comp.GetChild("ListTeaParty"); m_teaPartyItemTips = (UI_TeaPartyItemTips)UI_TeaPartyItemTips.Create(comp.GetChild("teaPartyItemTips")); } public void Dispose(bool disposeTarget = false) { m_loaBg = null; m_btnBack = null; m_btnChallenge = null; m_btnChat = null; m_btnReward = null; m_btnRule = null; m_txtTeaName = null; m_ListTeaParty = null; m_teaPartyItemTips.Dispose(); m_teaPartyItemTips = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }