Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


enabled

Whether this Scene is enabled for inclusion in the build.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public bool enabled { get; set; }

Remarks

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