# Subtarget

> The subtarget the build was created for, as an integer.

## Definition

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

```csharp
public int Subtarget
```

### Remarks

The integer maps to a platform-specific subtarget enum. For standalone platforms this is [StandaloneBuildSubtarget](/engine/6000.7/script-reference/unityeditor/standalonebuildsubtarget.md). Valid subtarget values depend on the platform. See [BuildSummary.GetSubtarget](/engine/6000.7/script-reference/unityeditor/build/reporting/buildsummary/getsubtarget.md) for details.
