123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.League
- {
- public partial class UI_LeagueTeaPartyShowUI
- {
- 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 GTextField m_txtCountdown;
- public const string URL = "ui://tw70qm9dn9lgtqq";
- public const string PACKAGE_NAME = "League";
- public const string RES_NAME = "LeagueTeaPartyShowUI";
- private static UI_LeagueTeaPartyShowUI _proxy;
- public static UI_LeagueTeaPartyShowUI Create(GObject gObject = null)
- {
- var ui = new UI_LeagueTeaPartyShowUI();
- 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_LeagueTeaPartyShowUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_LeagueTeaPartyShowUI();
- }
- 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"));
- m_txtCountdown = (GTextField)comp.GetChild("txtCountdown");
- }
- 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;
- m_txtCountdown = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|