Version: 2023.2
public bool enabled ;

描述

Whether this Scene is enabled for inclusion in the build.

Set to true when the Scene is enabled for inclusion in the Build Settings window. See EditorBuildSettings.scenes for an example of how to use this class. Additional resources: EditorBuildSettingsScene.