| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.MiniGame{    public partial class UI_GameStartUI    {        public GComponent target;        public GLoader m_bg;        public GLoader m_btnBack;        public UI_Component2 m_rewardBtn;        public GLoader m_shopBtn;        public GLoader m_ticket;        public GLoader m_addIconImg;        public GTextField m_ticketNum;        public GLoader m_addIcon;        public GLoader m_game1;        public GGraph m_effectIcon1;        public GGraph m_effectText1;        public GLoader m_tipsOne;        public GLoader m_needIcon1;        public GTextField m_needNum1;        public GLoader m_game2;        public GGraph m_effectIcon2;        public GGraph m_effectText2;        public GLoader m_tipsTwo;        public GLoader m_needIcon2;        public GTextField m_needNum2;        public const string URL = "ui://wgkh30qjlw8c21";        public const string PACKAGE_NAME = "MiniGame";        public const string RES_NAME = "GameStartUI";        private static UI_GameStartUI _proxy;        public static UI_GameStartUI Create(GObject gObject = null)        {            var ui = new UI_GameStartUI();            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_GameStartUI Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_GameStartUI();            }            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_bg = (GLoader)comp.GetChild("bg");            m_btnBack = (GLoader)comp.GetChild("btnBack");            m_rewardBtn = (UI_Component2)UI_Component2.Create(comp.GetChild("rewardBtn"));            m_shopBtn = (GLoader)comp.GetChild("shopBtn");            m_ticket = (GLoader)comp.GetChild("ticket");            m_addIconImg = (GLoader)comp.GetChild("addIconImg");            m_ticketNum = (GTextField)comp.GetChild("ticketNum");            m_addIcon = (GLoader)comp.GetChild("addIcon");            m_game1 = (GLoader)comp.GetChild("game1");            m_effectIcon1 = (GGraph)comp.GetChild("effectIcon1");            m_effectText1 = (GGraph)comp.GetChild("effectText1");            m_tipsOne = (GLoader)comp.GetChild("tipsOne");            m_needIcon1 = (GLoader)comp.GetChild("needIcon1");            m_needNum1 = (GTextField)comp.GetChild("needNum1");            m_game2 = (GLoader)comp.GetChild("game2");            m_effectIcon2 = (GGraph)comp.GetChild("effectIcon2");            m_effectText2 = (GGraph)comp.GetChild("effectText2");            m_tipsTwo = (GLoader)comp.GetChild("tipsTwo");            m_needIcon2 = (GLoader)comp.GetChild("needIcon2");            m_needNum2 = (GTextField)comp.GetChild("needNum2");        }        public void Dispose(bool disposeTarget = false)        {            m_bg = null;            m_btnBack = null;            m_rewardBtn.Dispose();            m_rewardBtn = null;            m_shopBtn = null;            m_ticket = null;            m_addIconImg = null;            m_ticketNum = null;            m_addIcon = null;            m_game1 = null;            m_effectIcon1 = null;            m_effectText1 = null;            m_tipsOne = null;            m_needIcon1 = null;            m_needNum1 = null;            m_game2 = null;            m_effectIcon2 = null;            m_effectText2 = null;            m_tipsTwo = null;            m_needIcon2 = null;            m_needNum2 = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |