15 lines
413 B
C#
15 lines
413 B
C#
using System;
|
|
|
|
namespace Module.Inspector
|
|
{
|
|
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
|
|
public sealed class StringToAnimatorParameter : DrawerPropertyAttribute
|
|
{
|
|
public readonly string animatorFieldName;
|
|
|
|
public StringToAnimatorParameter(string animatorFieldName)
|
|
{
|
|
this.animatorFieldName = animatorFieldName;
|
|
}
|
|
}
|
|
} |