This version of Unity is unsupported.

SearchUtils.GetTypeIcon

Declaration

public static Texture2D GetTypeIcon(ref Type type);

Parameters

type Type.

Returns

Texture2D Icon for that type.

Description

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.