private void OnEnable()
        {
            _target = target as ScriptableObject;
            if (_target == null)
            {
                return;
            }

            _methods = ButtonMethodHandler.CollectValidMembers(_target.GetType());
        }
        public override void OnInspectorGUI()
        {
            base.OnInspectorGUI();
            if (_methods == null)
            {
                return;
            }

            ButtonMethodHandler.OnInspectorGUI(_target, _methods);
        }
        private void OnEnable()
        {
            _target = target as MonoBehaviour;
            if (_target == null)
            {
                return;
            }

            _methods = ButtonMethodHandler.CollectValidMembers(_target.GetType());
        }