pixelgon/Assets/NaughtyAttributes/Scripts/Core/DrawerAttributes/LabelAttribute.cs
2020-06-05 11:54:36 -07:00

18 lines
410 B
C#

using System;
namespace NaughtyAttributes
{
/// <summary>
/// Override default label
/// </summary>
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
public class LabelAttribute : DrawerAttribute
{
public string Label { get; private set; }
public LabelAttribute(string label)
{
this.Label = label;
}
}
}