public void TriggerLoadScene() { if (this.loadSceneFrom == LoadingScreenTrigger.SceneReference.Number) { LoadingScreenProBase.LoadScene(this.sceneNumber); } else { LoadingScreenProBase.LoadScene(this.sceneName); } }
public static void LoadScene(int levelNum) { if (!LoadingScreenProBase.IsLegalLevelIndex(levelNum)) { Debug.LogWarning((object)("No Scene with Buildindex " + (object)levelNum + " found.")); LoadingScreenProBase.targetSceneName = (string)null; } else { LoadingScreenProBase.targetSceneIndex = levelNum; LoadingScreenProBase.targetSceneName = (string)null; LoadingScreenProBase.LoadLoadingScene(); } }
public static void LoadScene(string levelName) { LoadingScreenProBase.targetSceneIndex = -1; LoadingScreenProBase.targetSceneName = levelName; LoadingScreenProBase.LoadLoadingScene(); }
public void LoadScene(string name) { LoadingScreenProBase.LoadScene(name); }
public void LoadScene(int number) { LoadingScreenProBase.LoadScene(number); }