/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.TimeTracing { public partial class UI_TimeTracingShowUI { public GComponent target; public GLoader m_bg; public GGraph m_showSuit; public GButton m_btnBack; public UI_Component1 m_switchBtn; public GLoader m_showSuitBtn; public GTextField m_suitName; public GLoader m_ruleBtn; public GButton m_challgeBtn; public UI_Button2 m_makeSuitBtn; public const string URL = "ui://gayfh946l8158"; public const string PACKAGE_NAME = "TimeTracing"; public const string RES_NAME = "TimeTracingShowUI"; private static UI_TimeTracingShowUI _proxy; public static UI_TimeTracingShowUI Create(GObject gObject = null) { var ui = new UI_TimeTracingShowUI(); 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_TimeTracingShowUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_TimeTracingShowUI(); } 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_bg = (GLoader)comp.GetChild("bg"); m_showSuit = (GGraph)comp.GetChild("showSuit"); m_btnBack = (GButton)comp.GetChild("btnBack"); m_switchBtn = (UI_Component1)UI_Component1.Create(comp.GetChild("switchBtn")); m_showSuitBtn = (GLoader)comp.GetChild("showSuitBtn"); m_suitName = (GTextField)comp.GetChild("suitName"); m_ruleBtn = (GLoader)comp.GetChild("ruleBtn"); m_challgeBtn = (GButton)comp.GetChild("challgeBtn"); m_makeSuitBtn = (UI_Button2)UI_Button2.Create(comp.GetChild("makeSuitBtn")); } public void Dispose(bool disposeTarget = false) { m_bg = null; m_showSuit = null; m_btnBack = null; m_switchBtn.Dispose(); m_switchBtn = null; m_showSuitBtn = null; m_suitName = null; m_ruleBtn = null; m_challgeBtn = null; m_makeSuitBtn.Dispose(); m_makeSuitBtn = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }