Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetAdditionalCompilerArgumentsForGroup(BuildTargetGroup)

BuildTargetGroup is marked for deprecation in the future. Use PlayerSettings.GetAdditionalCompilerArguments instead.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
Warning
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.