void OnQuitGame()
 {
             #if Spade
     SpadeIOSLogin spadeSDK = Native.mInstace.m_thridParty as SpadeIOSLogin;
     spadeSDK.tryLogout();
             #else
     Application.Quit();
             #endif
 }
    void KickOut()
    {
#if Spade
        SpadeIOSLogin spadeSDK = Native.mInstace.m_thridParty as SpadeIOSLogin;
        spadeSDK.tryLogout();
#else
        Core.SM.OnUnregister();
        Core.SM.beforeLoadLevel(Application.loadedLevelName, SceneName.LOGIN_SCENE);
        AsyncLoadScene.m_Instance.LoadScene(SceneName.LOGIN_SCENE);
#endif
    }