Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

LoadSceneMode

enumeration

Description

Used when loading a scene in a player.

Use LoadSceneMode to choose what type of Scene loads when using SceneManager.LoadScene. The available modes are Single and Additive.

Single mode loads a standard Unity Scene which then appears on its own in the Hierarchy window. Additive loads a Scene which appears in the Hierarchy window while another is active.

no example available in JavaScript

Variables

SingleCloses all current loaded scenes and loads a scene.
AdditiveAdds the scene to the current loaded scenes.

Did you find this page useful? Please give it a rating: