Version: 2021.2

PlayerSettings.SetAdditionalCompilerArguments

切换到手册
public static void SetAdditionalCompilerArguments (Build.NamedBuildTarget buildTarget, string[] additionalCompilerArguments);

参数

buildTarget The NamedBuildTarget.
additionalCompilerArguments An array of the additional compiler arguments.

描述

Sets additional compiler arguments for a build target.