/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Arena { public partial class UI_ArenaResultQuickUI { public GComponent target; public UI_ComTitle m_comTitle; public GTextField m_txtTargetName; public GComponent m_comTargetHead; public GTextField m_txtTargetRank; public GTextField m_txtDantitle; public GList m_list; public UI_ComAllScoreResult m_comResult; public const string URL = "ui://4lc5fhlbpsphx"; public const string PACKAGE_NAME = "Arena"; public const string RES_NAME = "ArenaResultQuickUI"; private static UI_ArenaResultQuickUI _proxy; public static UI_ArenaResultQuickUI Create(GObject gObject = null) { var ui = new UI_ArenaResultQuickUI(); 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_ArenaResultQuickUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ArenaResultQuickUI(); } 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_comTitle = (UI_ComTitle)UI_ComTitle.Create(comp.GetChild("comTitle")); m_txtTargetName = (GTextField)comp.GetChild("txtTargetName"); m_comTargetHead = (GComponent)comp.GetChild("comTargetHead"); m_txtTargetRank = (GTextField)comp.GetChild("txtTargetRank"); m_txtDantitle = (GTextField)comp.GetChild("txtDantitle"); m_list = (GList)comp.GetChild("list"); m_comResult = (UI_ComAllScoreResult)UI_ComAllScoreResult.Create(comp.GetChild("comResult")); } public void Dispose(bool disposeTarget = false) { m_comTitle.Dispose(); m_comTitle = null; m_txtTargetName = null; m_comTargetHead = null; m_txtTargetRank = null; m_txtDantitle = null; m_list = null; m_comResult.Dispose(); m_comResult = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }