1.6.0: Added FieldLabelFromType, StringToAnimationClipName and SingleSelectionFlag
This commit is contained in:
parent
7d99d62e11
commit
9faacb6291
15 changed files with 215 additions and 6 deletions
15
Runtime/Drawers/StringToAnimationClipNameAttribute.cs
Normal file
15
Runtime/Drawers/StringToAnimationClipNameAttribute.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
|
||||
namespace Module.Inspector
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
|
||||
public sealed class StringToAnimationClipAttribute : DrawerPropertyAttribute
|
||||
{
|
||||
public readonly string animationFieldName;
|
||||
|
||||
public StringToAnimationClipAttribute(string animationFieldName)
|
||||
{
|
||||
this.animationFieldName = animationFieldName;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue