| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.PopWindow{    public partial class UI_ExchangeGoodsUI    {        public GComponent target;        public GGraph m_holderLeftTop;        public GGraph m_holderRightDowm;        public GComponent m_itemSkill;        public GList m_listConsume;        public GButton m_btnCancel;        public GButton m_btnUse;        public GTextField m_txtHasNum;        public GButton m_btnAdd;        public GButton m_btnReduce;        public GButton m_btnAllChoose;        public GSlider m_slideUpLevel;        public GTextField m_txtChooseLevel;        public const string URL = "ui://i9tn319dnzuq0";        public const string PACKAGE_NAME = "PopWindow";        public const string RES_NAME = "ExchangeGoodsUI";        private static UI_ExchangeGoodsUI _proxy;        public static UI_ExchangeGoodsUI Create(GObject gObject = null)        {            var ui = new UI_ExchangeGoodsUI();            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_ExchangeGoodsUI Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_ExchangeGoodsUI();            }            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_holderLeftTop = (GGraph)comp.GetChild("holderLeftTop");            m_holderRightDowm = (GGraph)comp.GetChild("holderRightDowm");            m_itemSkill = (GComponent)comp.GetChild("itemSkill");            m_listConsume = (GList)comp.GetChild("listConsume");            m_btnCancel = (GButton)comp.GetChild("btnCancel");            m_btnUse = (GButton)comp.GetChild("btnUse");            m_txtHasNum = (GTextField)comp.GetChild("txtHasNum");            m_btnAdd = (GButton)comp.GetChild("btnAdd");            m_btnReduce = (GButton)comp.GetChild("btnReduce");            m_btnAllChoose = (GButton)comp.GetChild("btnAllChoose");            m_slideUpLevel = (GSlider)comp.GetChild("slideUpLevel");            m_txtChooseLevel = (GTextField)comp.GetChild("txtChooseLevel");        }        public void Dispose(bool disposeTarget = false)        {            m_holderLeftTop = null;            m_holderRightDowm = null;            m_itemSkill = null;            m_listConsume = null;            m_btnCancel = null;            m_btnUse = null;            m_txtHasNum = null;            m_btnAdd = null;            m_btnReduce = null;            m_btnAllChoose = null;            m_slideUpLevel = null;            m_txtChooseLevel = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |