public void Reinitialize() { IntersceneManager intersceneManager = IntersceneManager.intersceneManager; PlayerDataSaver.ErasePlayerDatas(); intersceneManager.GetPlayerDatas.Reinitialize(); intersceneManager.ArenaInterscInformations.Reinitialize(); intersceneManager.ArenaInterscInformations.SetNeedToPassTutorial(true); intersceneManager.MapInterscInformations.Reinitialize(); intersceneManager.MapInterscInformations.SetMapIntersceneInfos(mapSceneName, Vector3.zero, null); passedTutorial = false; CheckForSaveFiles(); }
public void DeletePlayerDatas() { PlayerDataSaver.ErasePlayerDatas(); }