Class SettingSpaceAttribute
Used to insert a space between two UI Elements in the Settings Menu
Implements
Inherited Members
Namespace: WeaverCore.Settings
Assembly: WeaverCore.dll
Syntax
[AttributeUsage(AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = true, Inherited = false)]
public sealed class SettingSpaceAttribute : Attribute, _Attribute
Constructors
| Edit this page View SourceSettingSpaceAttribute(float)
Applies a spacing to the settings property
Declaration
public SettingSpaceAttribute(float spacing = 35.5)
Parameters
Type | Name | Description |
---|---|---|
float | spacing | How much spacing is applied |
Properties
| Edit this page View SourceSpacing
The spacing of the settings property from the one above it
Declaration
public float Spacing { get; }
Property Value
Type | Description |
---|---|
float |