This version of Unity is unsupported.

EditorBuildSettingsScene.enabled

public bool enabled;

Description

Whether this Scene is enabled in the Build Settings window or not. See EditorBuildSettings.scenes for an example of how to use this class.

See Also: EditorBuildSettingsScene, EditorBuildSettings.scenes.