using UnityEngine; namespace EditorAttributes { /// /// Attribute to display a dropdown of animator parameters /// public class AnimatorParamDropdownAttribute : PropertyAttribute { public string AnimatorFieldName { get; private set; } /// /// Attribute to display a dropdown of animator parameters /// /// The animator from which to get the parameters public AnimatorParamDropdownAttribute(string animatorFieldName) => AnimatorFieldName = animatorFieldName; } }