Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

EditorGUIUtility.IconContent

static function IconContent(name: string): GUIContent;
static function IconContent(name: string, tooltip: string): GUIContent;

Parameters

nameContent name.
tooltipTooltip.

Description

Fetch the GUIContent from the Unity builtin resources with the given name.