Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

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.