This version of Unity is unsupported.

BuildPipeline.GetBuildTargetName

Declaration

public static string GetBuildTargetName(BuildTarget targetPlatform);

Parameters

targetPlatform An instance of the BuildTarget enum.

Returns

string Target platform name represented by the passed in BuildTarget.

Description

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