class in UnityEditor.SceneManagement
/
Hereda de:SceneManagement.SceneManager
Scene management in the Editor.
loadedSceneCount | The number of loaded Scenes. |
playModeStartScene | Loads this SceneAsset when you start Play Mode. |
preventCrossSceneReferences | Controls whether cross-Scene references are allowed in the Editor. |
ClosePreviewScene | Closes a preview scene created by NewPreviewScene. |
CloseScene | Close the Scene. If removeScene flag is true, the closed Scene will also be removed from EditorSceneManager. |
DetectCrossSceneReferences | Detects cross-scene references in a Scene. |
EnsureUntitledSceneHasBeenSaved | Shows a save dialog if an Untitled scene exists in the current scene manager setup. |
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. |
NewPreviewScene | Creates a new preview scene. Any object added to a preview scene will only be rendered in that scene. |
NewScene | Crear una nueva escena. |
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 | Crear una nueva escena. |
SaveScene | Crear una nueva escena. |
SaveScenes | Save a list of Scenes. |
newSceneCreated | This event is called after a new Scene has been created. |
sceneClosed | This event is called after a Scene has been closed in the editor. |
sceneClosing | This event is called before closing an open Scene after you have requested that the Scene is closed. |
sceneOpened | This event is called after a Scene has been opened in the editor. |
sceneOpening | This event is called before opening an existing Scene. |
sceneSaved | This event is called after a Scene has been saved. |
sceneSaving | This event is called before a Scene is saved disk after you have requested the Scene to be saved. |
NewSceneCreatedCallback | Callbacks of this type which have been added to the newSceneCreated event are called after a new Scene has been created. |
SceneClosedCallback | Callbacks of this type which have been added to the sceneClosed event are called immediately after the Scene has been closed. |
SceneClosingCallback | Callbacks of this type which have been added to the sceneClosing event are called just before a Scene is closed. |
SceneOpenedCallback | Callbacks of this type which have been added to the sceneOpened event are called after a Scene has been opened. |
SceneOpeningCallback | Callbacks of this type which have been added to the sceneOpening event are called just before opening a Scene. |
SceneSavedCallback | Callbacks of this type which have been added to the sceneSaved event are called after a Scene has been saved. |
SceneSavingCallback | Callbacks of this type which have been added to the sceneSaving event are called just before the Scene is saved. |
sceneCount | La cantidad total de escenas actualmente cargadas. |
sceneCountInBuildSettings | Cantidad de escenas en los Build Settings. |
CreateScene | Crea una escena nueva vacía en tiempo de ejecución con el nombre dado. |
GetActiveScene | Obtiene la escena actualmente activa. |
GetSceneAt | Obtiene la escena en el indice en la lista del SceneManager de las escenas agregadas. |
GetSceneByBuildIndex | Obtiene una struct de escena de un indice de construcción. |
GetSceneByName | Busca a través de las escenas agregadas al SceneManager para una escena con el nombre dado. |
GetSceneByPath | Busca todas las escenas agregadas al SceneManager para una escena que tiene la ruta del asset dado. |
LoadScene | Carga la escena por us nombre o indice en los Build Settings. |
LoadSceneAsync | Carga la escena asincronicamente en el fondo. |
MergeScenes | Esto fusionará la escena fuente a la destinationScene. |
MoveGameObjectToScene | Mueve un GameObject de su escena actual a la nueva escena. |
SetActiveScene | Configura la escena para estar activa. |
UnloadSceneAsync | Destroys all GameObjects associated with the given scene and removes the scene from the SceneManager. |
activeSceneChanged | Agrega un delegate a esto para obtener notificaciones cuando la escena activa ha cambiado |
sceneLoaded | Add a delegate to this to get notifications when a scene has loaded. |
sceneUnloaded | Agrega un delegate a esto para obtener notificaciones cuando una escena se ha des-cargado |