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

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: