canto/Assets/Scripts/System/Attributes/ButtonAttribute.cs

16 lines
No EOL
368 B
C#

using System;
using UnityEngine;
namespace KitsuneCafe.System.Attributes
{
[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
public sealed class ButtonAttribute : PropertyAttribute
{
public readonly string Label;
public ButtonAttribute(string label)
{
Label = label;
}
}
}