Beispiel #1
0
 public static void LoadLevel(string levelName)
 {
     SceneUtility.LoadSceneAsync(levelName);
 }
Beispiel #2
0
 public static void LoadCurrentLevel()
 {
     SceneUtility.LoadSceneAsync(GetCurrentLevelName());
 }
Beispiel #3
0
 public void BackToMenu()
 {
     SceneUtility.LoadSceneAsync(SceneNames.MainMenu);
 }