Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

EditorGUIUtility.IconContent

Switch to Manual
public static function IconContent(name: string, tooltip: string = null): GUIContent;

Parameters

name Content name.
tooltip Tooltip.

Description

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