WeaverEditorUtilities.

TempTypeContent(Type) Method

Summary

[Editor-Only] Returns a UnityEngine.GUIContent using the type name as the text, full name as the tooltip, and UnityEditor.AssetPreview icon as the image (if it has one). The same object is returned every time so it can be reused without causing garbage collection.
Assembly
Weaver.dll
Namespace
Weaver.Editor
Containing Type
WeaverEditorUtilities

Syntax

public static GUIContent TempTypeContent(Type type)

Parameters

Name Type Description
type Type

Return Value

Type Description
GUIContent