Method GetPropertyHeight
GetPropertyHeight(SerializedProperty, GUIContent)
Override this method to specify how tall the GUI for this field is in pixels.
public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
Parameters
property
SerializedPropertyThe SerializedProperty to make the custom GUI for.
label
GUIContentThe label of this property.
Returns
- float
The height in pixels.