123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.League
- {
- public partial class UI_LeagueUI
- {
- public GComponent target;
- public GLoader m_loaBg;
- public GButton m_btnback;
- public GButton m_btnRule;
- public UI_Button2 m_btnMember;
- public UI_Button3 m_btnConstruct;
- public GTextField m_txtUnionName;
- public UI_ComLeagueHead m_comLeagueHead;
- public GTextField m_txtLeaderName;
- public GComponent m_comHead;
- public GButton m_btnChangeNotice;
- public GTextField m_txtName;
- public GTextField m_txtNotice;
- public UI_ButtonModle2 m_btnPray;
- public const string URL = "ui://tw70qm9du2u32";
- public const string PACKAGE_NAME = "League";
- public const string RES_NAME = "LeagueUI";
- private static UI_LeagueUI _proxy;
- public static UI_LeagueUI Create(GObject gObject = null)
- {
- var ui = new UI_LeagueUI();
- 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_LeagueUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_LeagueUI();
- }
- 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_btnRule = (GButton)comp.GetChild("btnRule");
- m_btnMember = (UI_Button2)UI_Button2.Create(comp.GetChild("btnMember"));
- m_btnConstruct = (UI_Button3)UI_Button3.Create(comp.GetChild("btnConstruct"));
- m_txtUnionName = (GTextField)comp.GetChild("txtUnionName");
- m_comLeagueHead = (UI_ComLeagueHead)UI_ComLeagueHead.Create(comp.GetChild("comLeagueHead"));
- m_txtLeaderName = (GTextField)comp.GetChild("txtLeaderName");
- m_comHead = (GComponent)comp.GetChild("comHead");
- m_btnChangeNotice = (GButton)comp.GetChild("btnChangeNotice");
- m_txtName = (GTextField)comp.GetChild("txtName");
- m_txtNotice = (GTextField)comp.GetChild("txtNotice");
- m_btnPray = (UI_ButtonModle2)UI_ButtonModle2.Create(comp.GetChild("btnPray"));
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_loaBg = null;
- m_btnback = null;
- m_btnRule = null;
- m_btnMember.Dispose();
- m_btnMember = null;
- m_btnConstruct.Dispose();
- m_btnConstruct = null;
- m_txtUnionName = null;
- m_comLeagueHead.Dispose();
- m_comLeagueHead = null;
- m_txtLeaderName = null;
- m_comHead = null;
- m_btnChangeNotice = null;
- m_txtName = null;
- m_txtNotice = null;
- m_btnPray.Dispose();
- m_btnPray = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|