// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
namespace FlaxEngine
{
///
/// Inserts an empty space between controls in the editor.
///
///
[Serializable]
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
public sealed class SpaceAttribute : Attribute
{
///
/// The spacing in pixel (vertically).
///
public float Height;
private SpaceAttribute()
{
Height = 10.0f;
}
///
/// Initializes a new instance of the class.
///
/// The spacing.
public SpaceAttribute(float height)
{
Height = height;
}
}
}