| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.Card{    public partial class UI_btnShowCard    {        public GButton target;        public UI_ComStarCard m_ComStarCard;        public const string URL = "ui://7l6lvkayl2by89";        public const string PACKAGE_NAME = "Card";        public const string RES_NAME = "btnShowCard";        private static UI_btnShowCard _proxy;        public static UI_btnShowCard Create(GObject gObject = null)        {            var ui = new UI_btnShowCard();            if(gObject == null)            	ui.target =  (GButton)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);            else            	ui.target =  (GButton)gObject;            ui.Init(ui.target);            return ui;        }        public static UI_btnShowCard Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_btnShowCard();            }            var ui = _proxy;            if(gObject == null)            	ui.target =  (GButton)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);            else            	ui.target =  (GButton)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_ComStarCard = (UI_ComStarCard)UI_ComStarCard.Create(comp.GetChild("ComStarCard"));        }        public void Dispose(bool disposeTarget = false)        {            m_ComStarCard.Dispose();            m_ComStarCard = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |