OpenSceneMode
Used when opening a Scene in the Editor to specify how a Scene should be opened.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Enum
- Namespace: UnityEditor.SceneManagement
- Assembly: UnityEditor.CoreModule
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. |