文档

Unity Engine

Unity Engine

GetBuildTargetName(BuildTarget)

Given a BuildTarget will return the well known string representation for the build target platform.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static string GetBuildTargetName(BuildTarget targetPlatform)

Parameters

targetPlatform

An instance of the BuildTarget enum.

Returns

Type

Description

stringTarget platform name represented by the passed in BuildTarget.