Version: 2022.2
public static Texture2D GetTypeIcon (ref Type type);

参数

type Type.

返回

Texture2D Icon for that type.

描述

Returns a thumbnail for a given type that can be displayed in a search view. See SearchProvider.fetchThumbnail.

For search we use an icon cache for types.