| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.BlindBox{    public partial class UI_BlindBoxUI    {        public GComponent target;        public GGraph m_effect;        public GButton m_ruleBtn;        public GTextField m_txtTime;        public GTextField m_txtDesc;        public GList m_boxList;        public GList m_rewardList;        public GLoader m_hiddenItem;        public GGroup m_reward;        public UI_Button1 m_buyBtn;        public GButton m_backBtn;        public GGroup m_show;        public Transition m_t0;        public Transition m_t1;        public const string URL = "ui://zxtyrwszcf1a0";        public const string PACKAGE_NAME = "BlindBox";        public const string RES_NAME = "BlindBoxUI";        private static UI_BlindBoxUI _proxy;        public static UI_BlindBoxUI Create(GObject gObject = null)        {            var ui = new UI_BlindBoxUI();            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_BlindBoxUI Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_BlindBoxUI();            }            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_effect = (GGraph)comp.GetChild("effect");            m_ruleBtn = (GButton)comp.GetChild("ruleBtn");            m_txtTime = (GTextField)comp.GetChild("txtTime");            m_txtDesc = (GTextField)comp.GetChild("txtDesc");            m_boxList = (GList)comp.GetChild("boxList");            m_rewardList = (GList)comp.GetChild("rewardList");            m_hiddenItem = (GLoader)comp.GetChild("hiddenItem");            m_reward = (GGroup)comp.GetChild("reward");            m_buyBtn = (UI_Button1)UI_Button1.Create(comp.GetChild("buyBtn"));            m_backBtn = (GButton)comp.GetChild("backBtn");            m_show = (GGroup)comp.GetChild("show");            m_t0 = comp.GetTransition("t0");            m_t1 = comp.GetTransition("t1");        }        public void Dispose(bool disposeTarget = false)        {            m_effect = null;            m_ruleBtn = null;            m_txtTime = null;            m_txtDesc = null;            m_boxList = null;            m_rewardList = null;            m_hiddenItem = null;            m_reward = null;            m_buyBtn.Dispose();            m_buyBtn = null;            m_backBtn = null;            m_show = null;            m_t0 = null;            m_t1 = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |