class in UnityEngine.SceneManagement
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.Close
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.Close
Scene management at run-time.
|The total number of currently loaded Scenes.
|Number of Scenes in Build Settings.
|Create an empty new Scene at runtime with the given name.
|Gets the currently active Scene.
|Get the Scene at index in the SceneManager's list of loaded Scenes.
|Get a Scene struct from a build index.
|Searches through the Scenes loaded for a Scene with the given name.
|Searches all Scenes loaded for a Scene that has the given asset path.
|Loads the Scene by its name or index in Build Settings.
|Loads the Scene asynchronously in the background.
|This will merge the source Scene into the destinationScene.
|Move a GameObject from its current Scene to a new Scene.
|Set the Scene to be active.
|Destroys all GameObjects associated with the given Scene and removes the Scene from the SceneManager.