# GetIcons(NamedBuildTarget, IconKind)

> Returns the list of assigned icons for the specified build target.

## Definition

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

```csharp
public static Texture2D[] GetIcons(NamedBuildTarget buildTarget, IconKind kind)
```

### Parameters

**** (\[NamedBuildTarget]\(/engine/6000.5/script-reference/unityeditor/build/namedbuildtarget)): The [NamedBuildTarget](/engine/6000.5/script-reference/unityeditor/build/namedbuildtarget.md).**** (\[IconKind]\(/engine/6000.5/script-reference/unityeditor/iconkind)): The [IconKind](/engine/6000.5/script-reference/unityeditor/iconkind.md).

### Returns

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

### Remarks

Unity enables you to specify multiple icon textures for each platform.

Each texture in the returned array corresponds to an entry in the list of icon sizes returned by [PlayerSettings.GetIconSizes](/engine/6000.5/script-reference/unityeditor/playersettings/geticonsizes.md). By default, `GetIcons` returns all icons for a platform unless you specify an [IconKind](/engine/6000.5/script-reference/unityeditor/iconkind.md) value. Only iOS supports icons which have a different kind than [IconKind.Application](/engine/6000.5/script-reference/unityeditor/iconkind/application.md). On Android, this method returns only Legacy launcher icons. Use [PlayerSettings.GetPlatformIcons](/engine/6000.5/script-reference/unityeditor/playersettings/getplatformicons.md) for Adaptive or Round icons.

Additional Resources: [PlayerSettings.GetIconSizes](/engine/6000.5/script-reference/unityeditor/playersettings/geticonsizes.md), [PlayerSettings.GetPlatformIcons](/engine/6000.5/script-reference/unityeditor/playersettings/getplatformicons.md), [PlayerSettings.SetIcons](/engine/6000.5/script-reference/unityeditor/playersettings/seticons.md), [PlayerSettings.GetIconsForTargetGroup](/engine/6000.5/script-reference/unityeditor/playersettings/geticonsfortargetgroup.md) (deprecated overload).
