Version: 2021.3

PlayerSettings.GetAdditionalCompilerArgumentsForGroup

切换到手册
public static string[] GetAdditionalCompilerArgumentsForGroup (BuildTargetGroup targetGroup);

参数

targetGroup The BuildTargetGroup to get the compiler arguments for.

返回

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

描述

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

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

See Also: AdditionalCompilerArguments.