| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.CommonGame{    public partial class UI_BuyCountUI    {        public GComponent target;        public GComponent m_bg;        public GButton m_btnAll;        public GLoader m_icon;        public GLoader m_rarity;        public GTextField m_txtName;        public GButton m_btnPlus;        public GButton m_btnMinus;        public GTextInput m_txtCount;        public GLoader m_iconPrice;        public GTextField m_txtPrice;        public GTextField m_txtBuyTips;        public GButton m_btnCancel;        public GButton m_btnSure;        public const string URL = "ui://eg2y0ldphinb5r";        public const string PACKAGE_NAME = "CommonGame";        public const string RES_NAME = "BuyCountUI";        private static UI_BuyCountUI _proxy;        public static UI_BuyCountUI Create(GObject gObject = null)        {            var ui = new UI_BuyCountUI();            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_BuyCountUI Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_BuyCountUI();            }            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 = (GComponent)comp.GetChild("bg");            m_btnAll = (GButton)comp.GetChild("btnAll");            m_icon = (GLoader)comp.GetChild("icon");            m_rarity = (GLoader)comp.GetChild("rarity");            m_txtName = (GTextField)comp.GetChild("txtName");            m_btnPlus = (GButton)comp.GetChild("btnPlus");            m_btnMinus = (GButton)comp.GetChild("btnMinus");            m_txtCount = (GTextInput)comp.GetChild("txtCount");            m_iconPrice = (GLoader)comp.GetChild("iconPrice");            m_txtPrice = (GTextField)comp.GetChild("txtPrice");            m_txtBuyTips = (GTextField)comp.GetChild("txtBuyTips");            m_btnCancel = (GButton)comp.GetChild("btnCancel");            m_btnSure = (GButton)comp.GetChild("btnSure");        }        public void Dispose(bool disposeTarget = false)        {            m_bg = null;            m_btnAll = null;            m_icon = null;            m_rarity = null;            m_txtName = null;            m_btnPlus = null;            m_btnMinus = null;            m_txtCount = null;            m_iconPrice = null;            m_txtPrice = null;            m_txtBuyTips = null;            m_btnCancel = null;            m_btnSure = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |