| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.League{    public partial class UI_LeagueTeaPartyOverUI    {        public GComponent target;        public GLoader m_loaBg;        public GButton m_btnBack;        public UI_comTeaPartyOverItem m_TeaPartyOverItem1;        public UI_comTeaPartyOverItem m_TeaPartyOverItem2;        public UI_comTeaPartyOverItem m_TeaPartyOverItem3;        public UI_comTeaPartyOverItem m_TeaPartyOverItem4;        public UI_comTeaPartyOverItem m_TeaPartyOverItem5;        public UI_comTeaPartyOverItem m_TeaPartyOverItem6;        public const string URL = "ui://tw70qm9dic4otq4";        public const string PACKAGE_NAME = "League";        public const string RES_NAME = "LeagueTeaPartyOverUI";        private static UI_LeagueTeaPartyOverUI _proxy;        public static UI_LeagueTeaPartyOverUI Create(GObject gObject = null)        {            var ui = new UI_LeagueTeaPartyOverUI();            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_LeagueTeaPartyOverUI Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_LeagueTeaPartyOverUI();            }            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_loaBg = (GLoader)comp.GetChild("loaBg");            m_btnBack = (GButton)comp.GetChild("btnBack");            m_TeaPartyOverItem1 = (UI_comTeaPartyOverItem)UI_comTeaPartyOverItem.Create(comp.GetChild("TeaPartyOverItem1"));            m_TeaPartyOverItem2 = (UI_comTeaPartyOverItem)UI_comTeaPartyOverItem.Create(comp.GetChild("TeaPartyOverItem2"));            m_TeaPartyOverItem3 = (UI_comTeaPartyOverItem)UI_comTeaPartyOverItem.Create(comp.GetChild("TeaPartyOverItem3"));            m_TeaPartyOverItem4 = (UI_comTeaPartyOverItem)UI_comTeaPartyOverItem.Create(comp.GetChild("TeaPartyOverItem4"));            m_TeaPartyOverItem5 = (UI_comTeaPartyOverItem)UI_comTeaPartyOverItem.Create(comp.GetChild("TeaPartyOverItem5"));            m_TeaPartyOverItem6 = (UI_comTeaPartyOverItem)UI_comTeaPartyOverItem.Create(comp.GetChild("TeaPartyOverItem6"));        }        public void Dispose(bool disposeTarget = false)        {            m_loaBg = null;            m_btnBack = null;            m_TeaPartyOverItem1.Dispose();            m_TeaPartyOverItem1 = null;            m_TeaPartyOverItem2.Dispose();            m_TeaPartyOverItem2 = null;            m_TeaPartyOverItem3.Dispose();            m_TeaPartyOverItem3 = null;            m_TeaPartyOverItem4.Dispose();            m_TeaPartyOverItem4 = null;            m_TeaPartyOverItem5.Dispose();            m_TeaPartyOverItem5 = null;            m_TeaPartyOverItem6.Dispose();            m_TeaPartyOverItem6 = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |