static void OnApplicationStartAfterMainMenuLoad() { // Debug.Log("Setting Main Menu as Active Scene"); SceneLoading.SetActiveScene(mainMenuScene); // Debug.Log("Loading Initialization Scenes"); LoadInitializationScenes(); // Debug.Log("Loading Additional Main Menu Scenes"); LoadAdditiveMainMenuScenes(); SceneLoading.onSceneLoadStart += OnSceneLoadStart; }
void Start() { if (!thisInstanceErrored) { SceneLoading.SetActiveScene(InitializationScenes.mainInitializationScene); SaveLoad.LoadSettingsOptions(); // #if UNITY_EDITOR StartCoroutine(SkipToScene()); // #endif // just to not get stuck in full screen mode... StartCoroutine(QuitDebug()); } }