| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.Main{    public partial class UI_CompFightExpBar    {        public GComponent target;        public GComponent m_iconHead;        public GTextField m_txtLvl;        public GTextField m_txtLvlAdded;        public UI_Component6 m_pbExp;        public const string URL = "ui://mfvz4q8k8xpg52";        public const string PACKAGE_NAME = "Main";        public const string RES_NAME = "CompFightExpBar";        private static UI_CompFightExpBar _proxy;        public static UI_CompFightExpBar Create(GObject gObject = null)        {            var ui = new UI_CompFightExpBar();            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_CompFightExpBar Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_CompFightExpBar();            }            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_iconHead = (GComponent)comp.GetChild("iconHead");            m_txtLvl = (GTextField)comp.GetChild("txtLvl");            m_txtLvlAdded = (GTextField)comp.GetChild("txtLvlAdded");            m_pbExp = (UI_Component6)UI_Component6.Create(comp.GetChild("pbExp"));        }        public void Dispose(bool disposeTarget = false)        {            m_iconHead = null;            m_txtLvl = null;            m_txtLvlAdded = null;            m_pbExp.Dispose();            m_pbExp = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |