Version: 2021.3

PlayerSettings.SetAdditionalCompilerArgumentsForGroup

切换到手册
public static void SetAdditionalCompilerArgumentsForGroup (BuildTargetGroup targetGroup, string[] additionalCompilerArguments);

参数

targetGroup The BuildTargetGroup to set the additional compiler arguments for.
additionalCompilerArguments An array of the additional compiler arguments.

描述

BuildTargetGroup is marked for deprecation in the future. Use PlayerSettings.SetAdditionalCompilerArguments instead.

Sets additional compiler arguments for a BuildTargetGroup.

See Also: AdditionalCompilerArguments.