Esempio n. 1
0
 public void LoadSceneAndSaveSpeed()
 {
     if (CurrentGameDatas.savedSpeed != CurrentGameDatas.speed)
     {
         CurrentGameDatas.SaveSpeed();
     }
     SceneManager.LoadScene(GameStructure.GetLevelName());
 }
Esempio n. 2
0
 public override void ChangeLevel()
 {
     if (PreparLevel.SwitchLevelFromHigher)
     {
         return;
     }
     PreparLevel.SwitchLevelFromLower = true;
     CurrentGameDatas.onLevel++;
     CurrentGameDatas.SaveLevel();
     SceneManager.LoadScene(GameStructure.GetLevelName());
 }
Esempio n. 3
0
 public static void LoadGuideAndSetMode()
 {
     FinishMap.normalGame = true;
     LoadSceneStatic(GameStructure.GetLevelName());
 }
Esempio n. 4
0
 public void LoadActualMap()
 {
     LoadSceneStatic(GameStructure.GetLevelName());
 }