/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Login { public partial class UI_LoginUI { public GComponent target; public GButton m_btnStart; public GTextField m_txtBottom; public GButton m_btnNotice; public GButton m_btnLogout; public GImage m_imgLogo; public GTextField m_txtVersion; public const string URL = "ui://myoktu7pl55o0"; public const string PACKAGE_NAME = "Login"; public const string RES_NAME = "LoginUI"; private static UI_LoginUI _proxy; public static UI_LoginUI Create(GObject gObject = null) { var ui = new UI_LoginUI(); 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_LoginUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_LoginUI(); } 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_btnStart = (GButton)comp.GetChild("btnStart"); m_txtBottom = (GTextField)comp.GetChild("txtBottom"); m_btnNotice = (GButton)comp.GetChild("btnNotice"); m_btnLogout = (GButton)comp.GetChild("btnLogout"); m_imgLogo = (GImage)comp.GetChild("imgLogo"); m_txtVersion = (GTextField)comp.GetChild("txtVersion"); } public void Dispose(bool disposeTarget = false) { m_btnStart = null; m_txtBottom = null; m_btnNotice = null; m_btnLogout = null; m_imgLogo = null; m_txtVersion = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }