| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.Arena{    public partial class UI_ArenaRankUI    {        public GComponent target;        public Controller m_c1;        public Controller m_c2;        public GButton m_btn0;        public GButton m_btn1;        public GButton m_btn00;        public GButton m_btn01;        public GList m_listRank;        public UI_ListRankItem4 m_comMyRank;        public GTextField m_txtTips;        public const string URL = "ui://4lc5fhlbpsph5";        public const string PACKAGE_NAME = "Arena";        public const string RES_NAME = "ArenaRankUI";        private static UI_ArenaRankUI _proxy;        public static UI_ArenaRankUI Create(GObject gObject = null)        {            var ui = new UI_ArenaRankUI();            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_ArenaRankUI Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_ArenaRankUI();            }            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_btn0 = (GButton)comp.GetChild("btn0");            m_btn1 = (GButton)comp.GetChild("btn1");            m_btn00 = (GButton)comp.GetChild("btn00");            m_btn01 = (GButton)comp.GetChild("btn01");            m_listRank = (GList)comp.GetChild("listRank");            m_comMyRank = (UI_ListRankItem4)UI_ListRankItem4.Create(comp.GetChild("comMyRank"));            m_txtTips = (GTextField)comp.GetChild("txtTips");        }        public void Dispose(bool disposeTarget = false)        {            m_c1 = null;            m_c2 = null;            m_btn0 = null;            m_btn1 = null;            m_btn00 = null;            m_btn01 = null;            m_listRank = null;            m_comMyRank.Dispose();            m_comMyRank = null;            m_txtTips = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |