Version: 2022.3
public string name ;

描述

构建目标的名称。

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.