public float GetHeight(TimingAttribute attribute) { if (Property == null || attribute.Style.HasFlag(hidingFlag)) { return(0); } return(height); }
public bool Draw(Rect position, TimingAttribute attribute) { if (attribute.Style.HasFlag(hidingFlag)) { return(false); } EditorGUI.PropertyField(position, Property); Property.serializedObject.ApplyModifiedProperties(); return(true); }