# GetScriptingDefineSymbolsForGroup

> Deprecated. Use PlayerSettings.GetScriptingDefineSymbols instead.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.3/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

## GetScriptingDefineSymbolsForGroup(BuildTargetGroup)

Deprecated. Use [PlayerSettings.GetScriptingDefineSymbols](/engine/6000.3/script-reference/unityeditor/playersettings/getscriptingdefinesymbols.md) instead.

> **Warning:**
>
> **Deprecated.** Use GetScriptingDefineSymbols(NamedBuildTarget buildTarget) instead

```csharp
public static string GetScriptingDefineSymbolsForGroup(BuildTargetGroup targetGroup)
```

### Parameters

**** (\[BuildTargetGroup]\(/engine/6000.3/script-reference/unityeditor/buildtargetgroup)):&#x20;

### Returns

| Type                                                           | Description |
| -------------------------------------------------------------- | ----------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) |             |

### Remarks

Gets user-specified symbols for script compilation for the build target group you select.

## GetScriptingDefineSymbolsForGroup(BuildTargetGroup, string\[])

Deprecated. Use [PlayerSettings.GetScriptingDefineSymbols](/engine/6000.3/script-reference/unityeditor/playersettings/getscriptingdefinesymbols.md) instead.

> **Warning:**
>
> **Deprecated.** Use GetScriptingDefineSymbols(NamedBuildTarget buildTarget, out string\[] defines) instead

```csharp
public static void GetScriptingDefineSymbolsForGroup(BuildTargetGroup targetGroup, out string[] defines)
```

### Parameters

**** (\[BuildTargetGroup]\(/engine/6000.3/script-reference/unityeditor/buildtargetgroup)): **** (\[string\[]]\(https\://learn.microsoft.com/dotnet/api/system.string)):&#x20;

### Remarks

Gets user-specified symbols for script compilation for the build target group you select.
