| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.FieldGuide{    public partial class UI_CompSuitItem    {        public GComponent target;        public Controller m_c1;        public Controller m_state;        public GGraph m_holderBg;        public GLoader m_bg;        public GLoader m_loaderPic;        public UI_BonusBox m_loaderBonusBox;        public GProgressBar m_progBar;        public GLoader m_rarity;        public GTextField m_txtName;        public GImage m_unlockMask;        public const string URL = "ui://vqq9h9h4e3ot6n";        public const string PACKAGE_NAME = "FieldGuide";        public const string RES_NAME = "CompSuitItem";        private static UI_CompSuitItem _proxy;        public static UI_CompSuitItem Create(GObject gObject = null)        {            var ui = new UI_CompSuitItem();            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_CompSuitItem Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_CompSuitItem();            }            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_c1 = comp.GetController("c1");            m_state = comp.GetController("state");            m_holderBg = (GGraph)comp.GetChild("holderBg");            m_bg = (GLoader)comp.GetChild("bg");            m_loaderPic = (GLoader)comp.GetChild("loaderPic");            m_loaderBonusBox = (UI_BonusBox)UI_BonusBox.Create(comp.GetChild("loaderBonusBox"));            m_progBar = (GProgressBar)comp.GetChild("progBar");            m_rarity = (GLoader)comp.GetChild("rarity");            m_txtName = (GTextField)comp.GetChild("txtName");            m_unlockMask = (GImage)comp.GetChild("unlockMask");        }        public void Dispose(bool disposeTarget = false)        {            m_c1 = null;            m_state = null;            m_holderBg = null;            m_bg = null;            m_loaderPic = null;            m_loaderBonusBox.Dispose();            m_loaderBonusBox = null;            m_progBar = null;            m_rarity = null;            m_txtName = null;            m_unlockMask = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |