/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.DailyWelfare { public partial class UI_ComSupplyItem { public GComponent target; public Controller m_c1; public GTextField m_txtTime; public GButton m_btnGet; public GComponent m_comCost; public GTextField m_txtCount; public GGraph m_holder; public const string URL = "ui://t8nwuj7ifqora"; public const string PACKAGE_NAME = "DailyWelfare"; public const string RES_NAME = "ComSupplyItem"; private static UI_ComSupplyItem _proxy; public static UI_ComSupplyItem Create(GObject gObject = null) { var ui = new UI_ComSupplyItem(); 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_ComSupplyItem Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ComSupplyItem(); } 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_txtTime = (GTextField)comp.GetChild("txtTime"); m_btnGet = (GButton)comp.GetChild("btnGet"); m_comCost = (GComponent)comp.GetChild("comCost"); m_txtCount = (GTextField)comp.GetChild("txtCount"); m_holder = (GGraph)comp.GetChild("holder"); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_txtTime = null; m_btnGet = null; m_comCost = null; m_txtCount = null; m_holder = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }