GetPropertyHeight(SerializedProperty, GUIContent)
Override this method to specify how tall the GUI for this field is in pixels.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public virtual float GetPropertyHeight(SerializedProperty property, GUIContent label)
Parameters
The SerializedProperty to make the custom GUI for.
The label of this property.
Returns
Type | Description |
|---|---|
| float | The height in pixels. |
Remarks
The default is one line high.