/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.OpenServerActivity { public partial class UI_OpenServerFightUI { public GComponent target; public GLoader m_loaBg; public GButton m_btnBack; public GList m_list; public GLoader m_iconSuidAdd; public GTextField m_txtFreeNum; public const string URL = "ui://b8ha2mnspll2h"; public const string PACKAGE_NAME = "OpenServerActivity"; public const string RES_NAME = "OpenServerFightUI"; private static UI_OpenServerFightUI _proxy; public static UI_OpenServerFightUI Create(GObject gObject = null) { var ui = new UI_OpenServerFightUI(); 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_OpenServerFightUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_OpenServerFightUI(); } 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_list = (GList)comp.GetChild("list"); m_iconSuidAdd = (GLoader)comp.GetChild("iconSuidAdd"); m_txtFreeNum = (GTextField)comp.GetChild("txtFreeNum"); } public void Dispose(bool disposeTarget = false) { m_loaBg = null; m_btnBack = null; m_list = null; m_iconSuidAdd = null; m_txtFreeNum = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }