| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.Store{    public partial class UI_ComTab    {        public GComponent target;        public Controller m_c1;        public UI_Button3 m_btn0;        public UI_Button3 m_btn1;        public UI_Button3 m_btn2;        public UI_Button3 m_btn3;        public UI_Button3 m_btn4;        public const string URL = "ui://p9mtgheofqortb5";        public const string PACKAGE_NAME = "Store";        public const string RES_NAME = "ComTab";        private static UI_ComTab _proxy;        public static UI_ComTab Create(GObject gObject = null)        {            var ui = new UI_ComTab();            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_ComTab Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_ComTab();            }            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_btn0 = (UI_Button3)UI_Button3.Create(comp.GetChild("btn0"));            m_btn1 = (UI_Button3)UI_Button3.Create(comp.GetChild("btn1"));            m_btn2 = (UI_Button3)UI_Button3.Create(comp.GetChild("btn2"));            m_btn3 = (UI_Button3)UI_Button3.Create(comp.GetChild("btn3"));            m_btn4 = (UI_Button3)UI_Button3.Create(comp.GetChild("btn4"));        }        public void Dispose(bool disposeTarget = false)        {            m_c1 = null;            m_btn0.Dispose();            m_btn0 = null;            m_btn1.Dispose();            m_btn1 = null;            m_btn2.Dispose();            m_btn2 = null;            m_btn3.Dispose();            m_btn3 = null;            m_btn4.Dispose();            m_btn4 = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |