/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.League { public partial class UI_comTeaPartyOverItem { public GComponent target; public GLoader m_iconRole; public GLoader m_iconRoleBg; public GTextField m_txtRoleName; public GTextField m_txtGuildName; public const string URL = "ui://tw70qm9dic4otq5"; public const string PACKAGE_NAME = "League"; public const string RES_NAME = "comTeaPartyOverItem"; private static UI_comTeaPartyOverItem _proxy; public static UI_comTeaPartyOverItem Create(GObject gObject = null) { var ui = new UI_comTeaPartyOverItem(); 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_comTeaPartyOverItem Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_comTeaPartyOverItem(); } 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_iconRole = (GLoader)comp.GetChild("iconRole"); m_iconRoleBg = (GLoader)comp.GetChild("iconRoleBg"); m_txtRoleName = (GTextField)comp.GetChild("txtRoleName"); m_txtGuildName = (GTextField)comp.GetChild("txtGuildName"); } public void Dispose(bool disposeTarget = false) { m_iconRole = null; m_iconRoleBg = null; m_txtRoleName = null; m_txtGuildName = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }