OpenSceneMode
Used when opening a Scene in the Editor to specify how a Scene should be opened.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Enum
- Namespace: UnityEditor.SceneManagement
- Assembly: UnityEditor
public enum OpenSceneMode
Remarks
Additional Resources: EditorSceneManager.OpenScene.
Fields
Value | Description |
|---|---|
| Additive | Adds a Scene to the current open Scenes and loads it. |
| AdditiveWithoutLoading | Adds a Scene to the current open Scenes without loading it. It will show up as 'unloaded' in the Hierarchy Window. |
| Single | Closes all current open Scenes and loads a Scene. |