| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.CommonGame{    public partial class UI_BuyTipsUI    {        public GComponent target;        public Controller m_checkType;        public GImage m_bg;        public GTextField m_txtNeed;        public GTextField m_txtCost;        public GLoader m_loaNeed;        public UI_Button18 m_btnCancel;        public UI_Button18 m_btnSure;        public GButton m_btnCheck;        public const string URL = "ui://eg2y0ldpds629g";        public const string PACKAGE_NAME = "CommonGame";        public const string RES_NAME = "BuyTipsUI";        private static UI_BuyTipsUI _proxy;        public static UI_BuyTipsUI Create(GObject gObject = null)        {            var ui = new UI_BuyTipsUI();            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_BuyTipsUI Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_BuyTipsUI();            }            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_checkType = comp.GetController("checkType");            m_bg = (GImage)comp.GetChild("bg");            m_txtNeed = (GTextField)comp.GetChild("txtNeed");            m_txtCost = (GTextField)comp.GetChild("txtCost");            m_loaNeed = (GLoader)comp.GetChild("loaNeed");            m_btnCancel = (UI_Button18)UI_Button18.Create(comp.GetChild("btnCancel"));            m_btnSure = (UI_Button18)UI_Button18.Create(comp.GetChild("btnSure"));            m_btnCheck = (GButton)comp.GetChild("btnCheck");        }        public void Dispose(bool disposeTarget = false)        {            m_checkType = null;            m_bg = null;            m_txtNeed = null;            m_txtCost = null;            m_loaNeed = null;            m_btnCancel.Dispose();            m_btnCancel = null;            m_btnSure.Dispose();            m_btnSure = null;            m_btnCheck = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |