Esempio n. 1
0
        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;
        }
Esempio n. 2
0
        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());
            }
        }