文档

Unity Engine

Unity Engine

GetAdditionalCompilerArgumentsForGroup(BuildTargetGroup)

BuildTargetGroup is marked for deprecation in the future. Use PlayerSettings.GetAdditionalCompilerArguments instead.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
警告
Deprecated. Use GetAdditionalCompilerArguments(NamedBuildTarget buildTarget) instead
public static string[] GetAdditionalCompilerArgumentsForGroup(BuildTargetGroup targetGroup)

Parameters

targetGroup

The BuildTargetGroup to get the compiler arguments for.

Returns

Type

Description

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

Remarks

Gets an array of additional compiler arguments set for a specific BuildTargetGroup.
Additional Resources: AdditionalCompilerArguments.