| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.MatchingCompetition{    public partial class UI_Component3    {        public GComponent target;        public Controller m_c1;        public Controller m_c2;        public GComponent m_head;        public GTextField m_nameText;        public GTextField m_countText;        public UI_Component4 m_RankIndex;        public const string URL = "ui://ri3cveycp3ft1i";        public const string PACKAGE_NAME = "MatchingCompetition";        public const string RES_NAME = "Component3";        private static UI_Component3 _proxy;        public static UI_Component3 Create(GObject gObject = null)        {            var ui = new UI_Component3();            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_Component3 Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_Component3();            }            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_c2 = comp.GetController("c2");            m_head = (GComponent)comp.GetChild("head");            m_nameText = (GTextField)comp.GetChild("nameText");            m_countText = (GTextField)comp.GetChild("countText");            m_RankIndex = (UI_Component4)UI_Component4.Create(comp.GetChild("RankIndex"));        }        public void Dispose(bool disposeTarget = false)        {            m_c1 = null;            m_c2 = null;            m_head = null;            m_nameText = null;            m_countText = null;            m_RankIndex.Dispose();            m_RankIndex = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |