Space Attribute

Use this Unity attribute to add some spacing in the Inspector.

// 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; }