using System; using UnityEngine.Scripting; namespace Module.Inspector { [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)] public sealed class MethodButton: DrawerMethodAttribute { public readonly string name; [Preserve] public MethodButton() { } public MethodButton(string name) { this.name = name; } } }