Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

EditorGUIUtility.GetIconSize

public static Vector2 GetIconSize();

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.

Did you find this page useful? Please give it a rating: