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

Switch to Manual
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.