class in UnityEditor.SceneManagement
/
Inherits from:SceneManagement.SceneManager
Scene management in the Editor.
| loadedSceneCount | The number of loaded Scenes. |
| preventCrossSceneReferences | Controls whether cross-Scene references are allowed in the Editor. |
| CloseScene | Close the Scene. If removeScene flag is true, the closed Scene is also removed from EditorSceneManager. |
| DetectCrossSceneReferences | Detects cross-scene references in a Scene. |
| GetSceneManagerSetup | Returns the current setup of the SceneManager. |
| MarkAllScenesDirty | Mark all the loaded Scenes as modified. |
| MarkSceneDirty | Mark the specified Scene as modified. |
| MoveSceneAfter | Allows you to reorder the Scenes currently open in the Hierarchy window. Moves the source Scene so it comes after the destination Scene. |
| MoveSceneBefore | Allows you to reorder the Scenes currently open in the Hierarchy window. Moves the source Scene so it comes before the destination Scene. |
| NewScene | Create a new Scene. |
| OpenScene | Open a Scene in the Editor. |
| RestoreSceneManagerSetup | Restore the setup of the SceneManager. |
| SaveCurrentModifiedScenesIfUserWantsTo | Asks you if you want to save the modified Scene or Scenes. |
| SaveModifiedScenesIfUserWantsTo | Asks whether the modfied input Scenes should be saved. |
| SaveOpenScenes | Save all open Scenes. |
| SaveScene | Save a Scene. |
| SaveScenes | Save a list of Scenes. |
| sceneCount | The total number of currently loaded scenes. |
| sceneCountInBuildSettings | Number of scenes in Build Settings. |
| CreateScene | Create an empty new scene at runtime with the given name. |
| GetActiveScene | Gets the currently active scene. |
| GetSceneAt | Get the scene at index in the SceneManager's list of added scenes. |
| GetSceneByBuildIndex | Get a scene struct from a build index. |
| GetSceneByName | Searches through the scenes added to the SceneManager for a scene with the given name. |
| GetSceneByPath | Searches all scenes added to the SceneManager for a scene that has the given asset path. |
| LoadScene | Loads the scene by its name or index in Build Settings. |
| LoadSceneAsync | Loads the scene asynchronously in the background. |
| MergeScenes | This will merge the source scene into the destinationScene. |
| MoveGameObjectToScene | Move a GameObject from its current scene to a new Scene. |
| SetActiveScene | Set the scene to be active. |
| UnloadSceneAsync | Destroys all GameObjects associated with the given scene and removes the scene from the SceneManager. |
| activeSceneChanged | Add a delegate to this to get notifications when the active scene has changed |
| sceneLoaded | Add a delegate to this to get notifications when a scene has loaded |
| sceneUnloaded | Add a delegate to this to get notifications when a scene has unloaded |