Documentation

Unity Engine

Unity Engine

GetMiniTypeThumbnail(Type)

Obtains the generic icon for the given type.
Read time 1 minuteLast updated 12 hours ago

Definition

public static Texture2D GetMiniTypeThumbnail(Type type)

Parameters

type

The class type to return the icon for, for example typeof(Texture2D) or typeof(GameObject).

Returns

Type

Description

Texture2DThe icon of the type as a Texture2D object.