| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.LuckyBox{    public partial class UI_LuckyBoxActivityUI    {        public GComponent target;        public UI_ComBox m_comBox;        public GButton m_btnBack;        public GComponent m_valueBar;        public GTextField m_txtTime;        public GButton m_btnGiftBag;        public UI_ComBagTime m_comBagTime;        public GButton m_btnShop;        public GButton m_btnReward;        public GTextField m_txtCount;        public const string URL = "ui://drx9d1usmbf1tad";        public const string PACKAGE_NAME = "LuckyBox";        public const string RES_NAME = "LuckyBoxActivityUI";        private static UI_LuckyBoxActivityUI _proxy;        public static UI_LuckyBoxActivityUI Create(GObject gObject = null)        {            var ui = new UI_LuckyBoxActivityUI();            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_LuckyBoxActivityUI Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_LuckyBoxActivityUI();            }            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_comBox = (UI_ComBox)UI_ComBox.Create(comp.GetChild("comBox"));            m_btnBack = (GButton)comp.GetChild("btnBack");            m_valueBar = (GComponent)comp.GetChild("valueBar");            m_txtTime = (GTextField)comp.GetChild("txtTime");            m_btnGiftBag = (GButton)comp.GetChild("btnGiftBag");            m_comBagTime = (UI_ComBagTime)UI_ComBagTime.Create(comp.GetChild("comBagTime"));            m_btnShop = (GButton)comp.GetChild("btnShop");            m_btnReward = (GButton)comp.GetChild("btnReward");            m_txtCount = (GTextField)comp.GetChild("txtCount");        }        public void Dispose(bool disposeTarget = false)        {            m_comBox.Dispose();            m_comBox = null;            m_btnBack = null;            m_valueBar = null;            m_txtTime = null;            m_btnGiftBag = null;            m_comBagTime.Dispose();            m_comBagTime = null;            m_btnShop = null;            m_btnReward = null;            m_txtCount = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |