/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Arena { public partial class UI_ComDanSimpleInfo { public GComponent target; public Controller m_c1; public GComponent m_comHeadWith; public GTextField m_txtName; public GTextField m_txtDanTitle; public GTextField m_txtRank; public const string URL = "ui://4lc5fhlbpsphr"; public const string PACKAGE_NAME = "Arena"; public const string RES_NAME = "ComDanSimpleInfo"; private static UI_ComDanSimpleInfo _proxy; public static UI_ComDanSimpleInfo Create(GObject gObject = null) { var ui = new UI_ComDanSimpleInfo(); 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_ComDanSimpleInfo Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ComDanSimpleInfo(); } 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_comHeadWith = (GComponent)comp.GetChild("comHeadWith"); m_txtName = (GTextField)comp.GetChild("txtName"); m_txtDanTitle = (GTextField)comp.GetChild("txtDanTitle"); m_txtRank = (GTextField)comp.GetChild("txtRank"); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_comHeadWith = null; m_txtName = null; m_txtDanTitle = null; m_txtRank = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }