public void ReturnToLogin() { if (!ScenePreloader.Instance.isPreLoading) { GameManager.Instance.ClearCurrentState(); } StageMgr.OnSceneLoaded += OnLoginLoaded; StageMgr.LoadingAsyncScene(GlobalValue.StageName_ReLoginScene); }
void InPutpassWord(string str) { password = str; StageMgr.LoadingAsyncScene(GlobalValue.StageName_groupScene); //NetConnection.Instance.joinTeam((uint)minfot.teamId_,str); }
public void SwitchScene() { StageMgr.OnSceneLoaded += LoadedCallBack; StageMgr.LoadingAsyncScene(GlobalValue.StageName_MainScene, SwitchScenEffect.SMFadeTransition); }