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

15 lines
348 B
C#

using System;
namespace NaughtyAttributes
{
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public class ButtonAttribute : DrawerAttribute
{
public string Text { get; private set; }
public ButtonAttribute(string text = null)
{
this.Text = text;
}
}
}