/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Studio { public partial class UI_ComFabric { public GComponent target; public GList m_list; public GTextField m_txtNum; public GTextField m_txtTime; public GButton m_btnBuy; public const string URL = "ui://xz8kxrecf2bf30"; public const string PACKAGE_NAME = "Studio"; public const string RES_NAME = "ComFabric"; private static UI_ComFabric _proxy; public static UI_ComFabric Create(GObject gObject = null) { var ui = new UI_ComFabric(); 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_ComFabric Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ComFabric(); } 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_list = (GList)comp.GetChild("list"); m_txtNum = (GTextField)comp.GetChild("txtNum"); m_txtTime = (GTextField)comp.GetChild("txtTime"); m_btnBuy = (GButton)comp.GetChild("btnBuy"); } public void Dispose(bool disposeTarget = false) { m_list = null; m_txtNum = null; m_txtTime = null; m_btnBuy = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }