SceneOperation Activate(Scene scene) |
Sets focus to the specified scene. Overrides selected scene in collections. If null, then the first scene opened will be set as active. |
void Cancel() |
Cancel this operation. |
SceneOperation Close(SceneCollection collection) |
Closes collection. |
SceneOperation Close(Scene scene, bool removeFromOpen) |
Specifies the scenes to close. |
SceneOperation Close(Scene[] scenes) |
Specifies the scenes to close. |
SceneOperation Close(IEnumerable<Scene> scenes, bool removeFromOpen) |
Closes collection. |
SceneOperation CloseAll(Scene[] except) |
_No documentation available._ |
SceneOperation CloseAll(IEnumerable<Scene> except, bool removeFromOpen) |
Closes all scenes, regardless if they are persistent or splash/loading screens. |
SceneOperation CloseOtherScenes(Scene[] except) |
Closes all non-persistent scenes prior to opening any scenes. |
SceneOperation CloseOtherScenes(bool persistent, IEnumerable<Scene> except, bool loadingScreen, bool splashScreen, bool removeFromOpen) |
Closes all open scenes prior to opening any scenes, with options. |
SceneOperation DisableProgressReporting() |
Disables progress reporting for this operation. |
SceneOperation Focus(Scene scene) |
Sets focus to the specified scene. Overrides selected scene in collections. |
CoroutineAwaiter GetAwaiter() |
Allows this operation to be awaited. |
SceneOperation IgnoreForActivation(IEnumerable<Scene> scenes) |
Specifies scenes that should not be activated. |
SceneOperation OnProgressChanged(Action<float> callback) |
Adds a callback when progress changed. |
SceneOperation Open(SceneCollection collection, bool openAll) |
Opens the collection. |
SceneOperation Open(Scene[] scenes) |
Specifies the scenes to open. |
SceneOperation Open(Scene scene, bool removeFromClose) |
Specifies the scenes to open. |
SceneOperation Open(IEnumerable<Scene> scenes, bool removeFromClose) |
Opens the collection. |
SceneOperation OpenAndActivate(Scene scene) |
Opens the scene, and makes sure it is activated afterwards. |
SceneOperation Preload(Scene[] scenes) |
Specifies scenes to preload. |
SceneOperation Preload(IEnumerable<Scene> scenes) |
Specifies scenes to preload. |
SceneOperation PrependOpen(Scene[] scenes) |
Specifies the scenes to prepend to the current open operation. |
SceneOperation PrependOpen(IEnumerable<Scene> scenes, bool ignoreForActivation) |
Specifies the scenes to prepend to the current open operation. |
SceneOperation RegisterCallback<TEventType>(EventCallback<TEventType> callback, When when, string key) |
Registers a callback for when an event occurs for this operation. |
SceneOperation RemoveOnProgressChangedCallback(Action<float> callback) |
Removes a callback when progress changed. |
SceneOperation RunSceneCallbacksOutsidePlayMode(bool value) |
Specifies whatever scene callbacks should run outside of play mode. |
SceneOperation UnloadUsedAssets() |
Specifies whatever Resources.UnloadUnusedAssets should be called at the end (before loading screen). |
SceneOperation UnregisterCallback<TEventType>(EventCallback<TEventType> callback, When when, string key) |
Unregisters a callback for when an event occurs for this operation. |
void UnregisterCallback<TEventType>(string key) |
Unregisters a previously registered event callback. |
void WaitFor(SceneOperation operation) |
Waits for the specified scene operation to complete before continuing. |
SceneOperation With(SceneCollection collection, bool setActiveScene, bool isCloseOperation) |
Specifies an associated collection. |
SceneOperation With(LoadingScreenReference loadingScreen, bool useLoadingScene) |
Specifies loading screen to use. |
SceneOperation With(bool useLoadingScene) |
Specifies loading screen to use. |
SceneOperation With(Action<LoadingScreenReference> loadingScreenCallback) |
Specifies a callback when loading screen is opened, before LoadingScreen.OnOpen is called. |
SceneOperation With(LoadPriority loadPriority) |
Sets the Enums.LoadPriority this operation will use. |
SceneOperation With(SceneOperationFlags flags) |
Sets the operation flags this operation will use. |
SceneOperation WithFriendlyText(string text) |
Specifies description for operation coroutine. |
SceneOperation WithLoadingScreen(LoadingScreenReference loadingScreen, bool useLoadingScene) |
Specifies loading screen to use. |
SceneOperation WithLoadingScreen(bool useLoadingScene) |
Specifies whatever loading screen should be used. |
SceneOperation WithoutLoadingScreen(bool useLoadingScene) |
Specifies whatever loading screen should be used. |