public override float GetHeight(GUIContent label) { var height = AssetDisplayDrawer.GetHeight(label); if (_caller.Inputs.Count > 0 || _caller.Outputs.Count > 0) { height += RectHelper.VerticalSpace; } if (_caller.Inputs.Count > 0) { height += _inputs.GetHeight(); } if (_caller.Outputs.Count > 0) { height += _outputs.GetHeight(); } return(height); }
public override float GetHeight(GUIContent label) { return(_listControl.GetHeight()); }
public override float GetHeight(GUIContent label) { return(RectHelper.LineHeight + _listControl.GetHeight()); }