Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


namedBuildTarget

The named build target that the build was created for.
Read time 1 minuteLast updated 12 days ago

Definition

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.