namedBuildTarget
The named build target that the build was created for.
阅读时间1 分钟最后更新于 23 天前
Definition
- Type: Property
- Namespace: UnityEditor.Build.Reporting
- Assembly: UnityEditor.CoreModule
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.