| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.League{    public partial class UI_ComPary    {        public GComponent target;        public Controller m_c1;        public GLoader m_LoaIcon;        public GTextField m_txtName;        public GComponent m_comGain;        public GComponent m_comGain2;        public GTextField m_txtCount;        public UI_Button20 m_btnPray;        public GComponent m_comFirstGain;        public const string URL = "ui://tw70qm9drv0929";        public const string PACKAGE_NAME = "League";        public const string RES_NAME = "ComPary";        private static UI_ComPary _proxy;        public static UI_ComPary Create(GObject gObject = null)        {            var ui = new UI_ComPary();            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_ComPary Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_ComPary();            }            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_LoaIcon = (GLoader)comp.GetChild("LoaIcon");            m_txtName = (GTextField)comp.GetChild("txtName");            m_comGain = (GComponent)comp.GetChild("comGain");            m_comGain2 = (GComponent)comp.GetChild("comGain2");            m_txtCount = (GTextField)comp.GetChild("txtCount");            m_btnPray = (UI_Button20)UI_Button20.Create(comp.GetChild("btnPray"));            m_comFirstGain = (GComponent)comp.GetChild("comFirstGain");        }        public void Dispose(bool disposeTarget = false)        {            m_c1 = null;            m_LoaIcon = null;            m_txtName = null;            m_comGain = null;            m_comGain2 = null;            m_txtCount = null;            m_btnPray.Dispose();            m_btnPray = null;            m_comFirstGain = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |