# BuildName

> For content directory builds, the build name. For Player builds, the product name from PlayerSettings.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor.Build](/engine/6000.7/script-reference/unityeditor/build.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public string BuildName
```

### Remarks

This value corresponds to [\_buildName](/engine/6000.7/script-reference/unityeditor/build/reporting/buildsummary/buildname.md). For content directory builds, it is the name set through [\_name](/engine/6000.7/script-reference/unityeditor/buildcontentdirectoryparameters/name.md).
