GetIconSize()
Get the size that has been set using EditorGUIUtility.SetIconSize.
Read time 1 minuteLast updated 6 days ago
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.