UnityEditor.PropertyDrawer.GetPropertyHeight C# (CSharp) Method

GetPropertyHeight() public method

Override this method to specify how tall the GUI for this field is in pixels.

public GetPropertyHeight ( UnityEditor.SerializedProperty property, GUIContent label ) : float
property UnityEditor.SerializedProperty The SerializedProperty to make the custom GUI for.
label UnityEngine.GUIContent The label of this property.
return float
        public virtual float GetPropertyHeight(SerializedProperty property, GUIContent label)
        {
            return 16f;
        }