namedBuildTarget
The named build target that the build was created for.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEditor.Build.Reporting
- Assembly: UnityEditor.CoreModule
public NamedBuildTarget namedBuildTarget { get; }
Remarks
The value combines _platform with the build's standalone subtarget, so a Dedicated Server build reports NamedBuildTarget.Server rather than NamedBuildTarget.Standalone. Use this property to look up the platform settings a build used, for example with PlayerSettings.