public override float GetPropertyHeight(SerializedProperty property, GUIContent label) { if (IsConditionMet(property) || Attr.AlwaysShow) { return(LabelDrawer.GetHeight(property, label, drawerOverride)); } return(-EditorGUIUtility.standardVerticalSpacing); }
public override float GetPropertyHeight(SerializedProperty property, GUIContent label) { if (IsConditionMet(property) || condSAtt.AlwaysShow) { if (property.type.EndsWith("Event")) { return(UEDrawer.GetPropertyHeight(property, label)); } return(LabelDrawer.GetHeight(property, label)); } return(-EditorGUIUtility.standardVerticalSpacing); }