GetIconSize()
Get the size that has been set using EditorGUIUtility.SetIconSize.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
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.