/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.TimeTracing { public partial class UI_TImeTracingPreShowUI { public GComponent target; public GLoader m_backBtn; public GTextField m_addNum; public GTextField m_suitDesc; public GList m_list; public GTextField m_suitName; public GTextField m_gotNum; public const string URL = "ui://gayfh946iwcl1q"; public const string PACKAGE_NAME = "TimeTracing"; public const string RES_NAME = "TImeTracingPreShowUI"; private static UI_TImeTracingPreShowUI _proxy; public static UI_TImeTracingPreShowUI Create(GObject gObject = null) { var ui = new UI_TImeTracingPreShowUI(); 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_TImeTracingPreShowUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_TImeTracingPreShowUI(); } 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_backBtn = (GLoader)comp.GetChild("backBtn"); m_addNum = (GTextField)comp.GetChild("addNum"); m_suitDesc = (GTextField)comp.GetChild("suitDesc"); m_list = (GList)comp.GetChild("list"); m_suitName = (GTextField)comp.GetChild("suitName"); m_gotNum = (GTextField)comp.GetChild("gotNum"); } public void Dispose(bool disposeTarget = false) { m_backBtn = null; m_addNum = null; m_suitDesc = null; m_list = null; m_suitName = null; m_gotNum = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }