module-inspector/Runtime/Drawers/IntToAnimatorParameter.cs

15 lines
407 B
C#

using System;
namespace Module.Inspector
{
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
public sealed class IntToAnimatorParameter : DrawerPropertyAttribute
{
public readonly string animatorFieldName;
public IntToAnimatorParameter(string animatorFieldName)
{
this.animatorFieldName = animatorFieldName;
}
}
}