/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.TimeTracing { public partial class UI_TimeTracingLevelRankItem { public GComponent target; public Controller m_c1; public GComponent m_comHead; public GButton m_btnLook; public GTextField m_txtName; public GTextField m_teamName; public GTextField m_scoreText; public GTextField m_rankText; public GLoader m_rankIcon; public GComponent m_comLv; public const string URL = "ui://gayfh946l8151a"; public const string PACKAGE_NAME = "TimeTracing"; public const string RES_NAME = "TimeTracingLevelRankItem"; private static UI_TimeTracingLevelRankItem _proxy; public static UI_TimeTracingLevelRankItem Create(GObject gObject = null) { var ui = new UI_TimeTracingLevelRankItem(); 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_TimeTracingLevelRankItem Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_TimeTracingLevelRankItem(); } 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_comHead = (GComponent)comp.GetChild("comHead"); m_btnLook = (GButton)comp.GetChild("btnLook"); m_txtName = (GTextField)comp.GetChild("txtName"); m_teamName = (GTextField)comp.GetChild("teamName"); m_scoreText = (GTextField)comp.GetChild("scoreText"); m_rankText = (GTextField)comp.GetChild("rankText"); m_rankIcon = (GLoader)comp.GetChild("rankIcon"); m_comLv = (GComponent)comp.GetChild("comLv"); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_comHead = null; m_btnLook = null; m_txtName = null; m_teamName = null; m_scoreText = null; m_rankText = null; m_rankIcon = null; m_comLv = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }