private void LogOutSuccess(S.LogOutSuccess p) { for (int i = 0; i <= 3; i++)//Fix for orbs sound { SoundManager.StopSound(20000 + 126 * 10 + 5 + i); } GameScene.User = null; if (Settings.Resolution != 800) { CMain.SetResolution(800, 600); } GameScene.ActiveScene = new SelectScene(p.Characters); GameScene.Scene.Dispose(); }
public static void LogOutSuccess(S.LogOutSuccess p) { gameManager.LogOutSuccess(p); }
public void LogOutSuccess(S.LogOutSuccess p) { CleanUp(); SceneManager.UnloadScene("GameScene"); SceneManager.LoadScene("LoginNew"); }