文档

Unity Engine

Unity Engine

GetIconSize()

Get the size that has been set using EditorGUIUtility.SetIconSize.
阅读时间1 分钟最后更新于 1 天前

Definition

public static Vector2 GetIconSize()

Returns

Type

Description

Vector2

Remarks

The default size is Vector2.zero where the size is determined by the available space.
Additional Resources: EditorGUIUtility.SetIconSize.