◆ GetTotalPropertyHeight()

static float GetTotalPropertyHeight ( SerializedProperty  property,
GUIContent  label,
bool  propertyAlwaysExpanded = false 
)
static
Parameters
propertyproperty to be drawn
labellabel to be drawn next to property
propertyAlwaysExpandedWhen true, will return the fully expanded height, whether or not the property is currently expanded.
Returns
Computed Height of the property, expanded or not, depending on state of SerializedProperty and parameters.

References EditorToolsOptions.DrawButtonAtBottomOfFoldout, PerObjectNamedBooleans.GetFoldoutState(), and EditorUtil.TypeOfCustomPropertyDrawer().

Referenced by EditorUtil.GetFoldoutObjectPropertyHeight(), and EditorUtil.LayoutFoldoutObjectProperty().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: