SceneSetup

class in UnityEditor.SceneManagement

Switch to Manual

Description

The setup information for a Scene in the SceneManager. This cannot be used in Play Mode.

Variables

isActiveIf the Scene is active.
isLoadedIf the Scene is loaded.
path场景路径。应是项目文件夹的相对路径,例如:“Assets/MyScenes/MyScene.unity”。