| 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 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:
SingleThe size this property should be based on if we are actually drawing it or not
See Also