Click or drag to resize

QuickButtonPropertyDrawerGetPropertyHeight Method

Override the default height drawer depending on any padding we need

Namespace:  DustProductions.Core
Assembly:  DustProductions.Core.Editor (in DustProductions.Core.Editor.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public override float GetPropertyHeight(
	SerializedProperty serializedProperty,
	GUIContent label
)

Parameters

serializedProperty
Type: SerializedProperty
The property we are drawing
label
Type: GUIContent
The text displayed on the property

Return Value

Type: Single
The size this property should be based on if we are actually drawing it or not
See Also