/// <summary> /// Sets the current scene list /// </summary> internal static void SetCurrentSceneList(SceneBundleList sceneList) { currentSceneList = sceneList; #if UNITY_EDITOR //Update startup manager setting StartupSceneManagerSetting.Instance.CurrentSceneList = currentSceneList; #endif }
/// <summary> /// Returns the current used scene list /// </summary> /// <returns></returns> public static SceneBundleList GetCurrentSceneList() { if (currentSceneList == null) { currentSceneList = StartupSceneManagerSetting.GetCurrentSceneList(); } return(currentSceneList); }