Property Space Attribute

The PropertySpace attribute have the same function as Unity's existing Space attribute, but can be applied anywhere as opposed to just fields.

// PropertySpace and Space attributes are virtually identical. [Space] [BoxGroup("Space", ShowLabel = false)] public int Space; // You can also control spacing both before and after the PropertySpace attribute. [PropertySpace(SpaceBefore = 30, SpaceAfter = 60)] [BoxGroup("BeforeAndAfter", ShowLabel = false)] public int BeforeAndAfter; // The PropertySpace attribute can, as the name suggests, also be applied to properties. [PropertySpace] [ShowInInspector, BoxGroup("Property", ShowLabel = false)] public string Property { get; set; }