using UnityEngine; using System.Reflection; namespace YKMoon { [System.AttributeUsage(System.AttributeTargets.Field)] public class InspectorButtonAttribute : PropertyAttribute { public readonly string MethodName; public InspectorButtonAttribute(string MethodName) { this.MethodName = MethodName; } } }