# EditorBuildSettingsScene

> Represents entries in the Scenes list, as displayed in the Build Profiles window.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor
* **Implements:** [IComparable](https://learn.microsoft.com/dotnet/api/system.icomparable)

```csharp
public class EditorBuildSettingsScene : IComparable
```

## Remarks

This class contains the path of a Scene and an enabled flag that indicates whether the Scene is enabled in the Build Profiles window or not.

You can use this class in combination with [EditorBuildSettings.scenes](/engine/6000.0/script-reference/unityeditor/editorbuildsettings/scenes.md) to populate the list of Scenes to include in the build via script. This is useful when you create custom editor scripts to automate your build pipeline.

See [EditorBuildSettings.scenes](/engine/6000.0/script-reference/unityeditor/editorbuildsettings/scenes.md) for an example script. Additional Resources: [BuildPipeline.BuildPlayer](/engine/6000.0/script-reference/unityeditor/buildpipeline/buildplayer.md).

## Properties

| Property                                                                                   | Description                                               |
| ------------------------------------------------------------------------------------------ | --------------------------------------------------------- |
| [enabled](/engine/6000.0/script-reference/unityeditor/editorbuildsettingsscene/enabled.md) | Whether this Scene is enabled for inclusion in the build. |
| [path](/engine/6000.0/script-reference/unityeditor/editorbuildsettingsscene/path.md)       | The file path of the Scene.                               |
