文档

Unity Engine

Unity Engine

OpenSceneMode

Used when opening a Scene in the Editor to specify how a Scene should be opened.
阅读时间1 分钟最后更新于 1 个月前

Definition

public enum OpenSceneMode

Remarks

Additional Resources: EditorSceneManager.OpenScene.

Fields

Value

Description

AdditiveAdds a Scene to the current open Scenes and loads it.
AdditiveWithoutLoadingAdds a Scene to the current open Scenes without loading it. It will show up as 'unloaded' in the Hierarchy Window.
SingleCloses all current open Scenes and loads a Scene.