canto/Assets/Scripts/System/Attributes/AnimatorControllerParameterNameAttribute.cs
2025-10-02 15:28:03 -04:00

16 lines
522 B
C#

using System;
using UnityEngine;
namespace KitsuneCafe.Sys.Attributes
{
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
public class AnimatorControllerParameterNameAttribute : AnimatorControllerPropertyAttribute
{
public AnimatorControllerParameterType ParameterType { get; private set; }
public AnimatorControllerParameterNameAttribute(AnimatorControllerParameterType parameterType, string animatorField = null) : base(animatorField)
{
ParameterType = parameterType;
}
}
}