Documentation

Unity Engine

Download Unity

Unity Engine

namedBuildTarget

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

Definition

public NamedBuildTarget namedBuildTarget { get; }

Remarks

The value combines BuildSummary.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.