| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 | /** 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 Controller m_showGiftBag;        public UI_ComBox m_comBox;        public GButton m_btnBack;        public GComponent m_valueBar;        public GTextField m_txtTime;        public UI_Button9 m_btnLuckyDiscount;        public UI_ComBagTime m_comDiscountTime;        public GGroup m_comLuckyDiscount;        public UI_Button5 m_btnGiftBag;        public UI_ComBagTime m_comBagTime;        public UI_Button5 m_btnShop;        public UI_Button5 m_btnReward;        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_showGiftBag = comp.GetController("showGiftBag");            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_btnLuckyDiscount = (UI_Button9)UI_Button9.Create(comp.GetChild("btnLuckyDiscount"));            m_comDiscountTime = (UI_ComBagTime)UI_ComBagTime.Create(comp.GetChild("comDiscountTime"));            m_comLuckyDiscount = (GGroup)comp.GetChild("comLuckyDiscount");            m_btnGiftBag = (UI_Button5)UI_Button5.Create(comp.GetChild("btnGiftBag"));            m_comBagTime = (UI_ComBagTime)UI_ComBagTime.Create(comp.GetChild("comBagTime"));            m_btnShop = (UI_Button5)UI_Button5.Create(comp.GetChild("btnShop"));            m_btnReward = (UI_Button5)UI_Button5.Create(comp.GetChild("btnReward"));        }        public void Dispose(bool disposeTarget = false)        {            m_showGiftBag = null;            m_comBox.Dispose();            m_comBox = null;            m_btnBack = null;            m_valueBar = null;            m_txtTime = null;            m_btnLuckyDiscount.Dispose();            m_btnLuckyDiscount = null;            m_comDiscountTime.Dispose();            m_comDiscountTime = null;            m_comLuckyDiscount = null;            m_btnGiftBag.Dispose();            m_btnGiftBag = null;            m_comBagTime.Dispose();            m_comBagTime = null;            m_btnShop.Dispose();            m_btnShop = null;            m_btnReward.Dispose();            m_btnReward = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |