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.GetIconSize

public static function GetIconSize(): Vector2;

Description

Get the size that has been set using SetIconSize.

The default size is Vector2.zero where the size is determined by the available space.

See Also: SetIconSize.