Legacy Documentation: Version 5.4
LanguageEnglish
  • C#
  • JS

Script language

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

SceneSetup

class in UnityEditor.SceneManagement

Description

The setup information for a scene in the SceneManager.

Variables

isActiveIf the scene is active.
isLoadedIf the scene is loaded.
pathPath of the scene. Should be relative to the project folder. Like: "Assets/MyScenes/MyScene.unity".