using System;
using System.Collections.Generic;
using System.Text;
namespace GlitchyEngine.Editor;
///
/// Specifies a string that will be shown as the label of the field in the editor.
///
[AttributeUsage(AttributeTargets.Field)]
public sealed class LabelAttribute : Attribute
{
///
/// The label of the field. If , the actual field name will be shown instead of the "prettified" name that is shown for fields without the .
///
public string? Label { get; private set; }
///
/// Initializes a new instance of the with a minimum, maximum value and optionally a speed.
///
///
public LabelAttribute(string? label)
{
Label = label;
}
}