16 lines
522 B
C#
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;
|
|
}
|
|
}
|
|
}
|