public void ClearCurrentState() { CinemaManager cm = GameObject.FindObjectOfType <CinemaManager>(); if (cm != null) { cm.Clear(); } _IsSenseMode = false; nextBattle_ = null; XInput.Instance.dealInput = true; CreatePlayerRole.Reset(); GlobalInstanceFunction.Instance.Clear(); Battle.Instance.ResetData(); TeamSystem._MyTeamInfo = null; Prebattle.Instance.Fini(); Prebattle.Instance.StopAllAutoSystem(); Prebattle.Instance.nextInfo_ = null; Prebattle.Instance.tooFastOper = false; StageMgr.ClearStageLoadQue(); EffectMgr.Instance.DeleteAll(); GamePlayer.Instance.isInBattle = false; GuildSystem.Clear(); TeamSystem.Clear(); SuccessSystem.Clear(); GatherSystem.instance.Clear(); GuideManager.Instance.ClearMask(); UIFactory.Instance.ClearLoadedUI(); SoundTools.StopMusic(); RaiseUpSystem.Clear(); BagSystem.instance.BagClear(); PopText.Instance.Clear(); GamePlayer.Instance.babies_list_.Clear(); }