Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

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

EditorGUIUtility.IconContent

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

Parameters

name Content name.
tooltip Tooltip.

Description

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