Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


name

Name of the build target.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public string name { get; set; }

Remarks

Refer to NamedBuildTarget for a list of valid build targets. To get the name of a build target as a string, use the
TargetName
property. For example,
UnityEditor.Build.NamedBuildTarget.Standalone.TargetName
.