GetMiniTypeThumbnail(Type)
Obtains the generic icon for the given type.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static Texture2D GetMiniTypeThumbnail(Type type)
Parameters
The class type to return the icon for, for example typeof(Texture2D) or typeof(GameObject).
Returns
Type | Description |
|---|---|
| Texture2D | The icon of the type as a Texture2D object. |