# GetIconsForTargetGroup

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

## Definition

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

## GetIconsForTargetGroup(BuildTargetGroup, IconKind)

[BuildTargetGroup](/engine/6000.0/script-reference/unityeditor/buildtargetgroup.md) is marked for deprecation in the future. Use [PlayerSettings.GetIcons](/engine/6000.0/script-reference/unityeditor/playersettings/geticons.md) instead.

> **Warning:**
>
> **Deprecated.** Use GetIcons(NamedBuildTarget, IconKind) instead

```csharp
public static Texture2D[] GetIconsForTargetGroup(BuildTargetGroup platform, IconKind kind)
```

### Parameters

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

### Returns

| Type                                                                      | Description |
| ------------------------------------------------------------------------- | ----------- |
| [Texture2D\[\]](/engine/6000.0/script-reference/unityengine/texture2d.md) |             |

### Remarks

Behavior is the same as [PlayerSettings.GetIcons](/engine/6000.0/script-reference/unityeditor/playersettings/geticons.md).

## GetIconsForTargetGroup(BuildTargetGroup)

[BuildTargetGroup](/engine/6000.0/script-reference/unityeditor/buildtargetgroup.md) is marked for deprecation in the future. Use [PlayerSettings.GetIcons](/engine/6000.0/script-reference/unityeditor/playersettings/geticons.md) instead.

> **Warning:**
>
> **Deprecated.** Use GetIcons(NamedBuildTarget, IconKind) instead

```csharp
public static Texture2D[] GetIconsForTargetGroup(BuildTargetGroup platform)
```

### Parameters

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

### Returns

| Type                                                                      | Description |
| ------------------------------------------------------------------------- | ----------- |
| [Texture2D\[\]](/engine/6000.0/script-reference/unityengine/texture2d.md) |             |

### Remarks

Behavior is the same as [PlayerSettings.GetIcons](/engine/6000.0/script-reference/unityeditor/playersettings/geticons.md).
