public override float GetPropertyHeight(SerializedProperty property, GUIContent label) { VisibleAttribute attr = attribute as VisibleAttribute; if (attr == null || attr.Result(DrawerUtil.GetTarget(property))) { return(DrawerUtil.GetPropertyHeight(property, label)); } else { return(0f); } }
public override float GetPropertyHeight(SerializedProperty property, GUIContent label) { return(DrawerUtil.GetPropertyHeight(property, label)); }