# GetMiniTypeThumbnail(Type)

> Obtains the generic icon for the given type.

## Definition

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

```csharp
public static Texture2D GetMiniTypeThumbnail(Type type)
```

### Parameters

**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): The class type to return the icon for, for example typeof(Texture2D) or typeof(GameObject).

### Returns

| Type                                                                  | Description                                 |
| --------------------------------------------------------------------- | ------------------------------------------- |
| [Texture2D](/engine/6000.0/script-reference/unityengine/texture2d.md) | The icon of the type as a Texture2D object. |
