| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.DailyWelfare{    public partial class UI_ComSupply    {        public GComponent target;        public UI_ComSupplyItem m_comSupply0;        public UI_ComSupplyItem m_comSupply1;        public GGraph m_holder;        public const string URL = "ui://t8nwuj7iofwu24";        public const string PACKAGE_NAME = "DailyWelfare";        public const string RES_NAME = "ComSupply";        private static UI_ComSupply _proxy;        public static UI_ComSupply Create(GObject gObject = null)        {            var ui = new UI_ComSupply();            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_ComSupply Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_ComSupply();            }            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_comSupply0 = (UI_ComSupplyItem)UI_ComSupplyItem.Create(comp.GetChild("comSupply0"));            m_comSupply1 = (UI_ComSupplyItem)UI_ComSupplyItem.Create(comp.GetChild("comSupply1"));            m_holder = (GGraph)comp.GetChild("holder");        }        public void Dispose(bool disposeTarget = false)        {            m_comSupply0.Dispose();            m_comSupply0 = null;            m_comSupply1.Dispose();            m_comSupply1 = null;            m_holder = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |