Version: 2021.2

PlayerSettings.GetAdditionalCompilerArguments

切换到手册
public static string[] GetAdditionalCompilerArguments (Build.NamedBuildTarget buildTarget);

参数

buildTarget The NamedBuildTarget to get the compiler arguments for.

返回

string[] Returns an array with the compiler arguments associated with a NamedBuildTarget.

描述

Gets an array of additional compiler arguments set for a specific NamedBuildTarget.