Version: 2022.1

BuildPipeline.GetBuildTargetName

切换到手册
public static string GetBuildTargetName (BuildTarget targetPlatform);

参数

targetPlatform An instance of the BuildTarget enum.

返回

string Target platform name represented by the passed in BuildTarget.

描述

Given a BuildTarget will return the well known string representation for the build target platform.