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();
    }
示例#2
0
 public void DeletePlayerDatas()
 {
     PlayerDataSaver.ErasePlayerDatas();
 }