Class SpaceAttribute
- Namespace
- KeenEyes
- Assembly
- KeenEyes.Abstractions.dll
Adds vertical spacing before the field in the editor inspector.
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, Inherited = false, AllowMultiple = false)]
[ExcludeFromCodeCoverage]
public sealed class SpaceAttribute : Attribute
- Inheritance
-
SpaceAttribute
- Inherited Members
Constructors
SpaceAttribute(float)
Adds vertical spacing before the field in the editor inspector.
public SpaceAttribute(float height = 8)
Parameters
heightfloatThe height of the space in pixels.
Properties
Height
Gets the height of the space in pixels.
public float Height { get; }