#if UNITY_EDITOR using UnityEngine; [System.AttributeUsage(System.AttributeTargets.Method)] public class InspectorButtonAttribute : PropertyAttribute { public readonly string Name; public InspectorButtonAttribute() { } public InspectorButtonAttribute(string name) { Name = name; } } #endif