GetMiniTypeThumbnail(Type)
Obtains the generic icon for the given type.
읽는 시간 1분최근 업데이트: 한 달 전
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. |