导入leg插件,完成腿部动画
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class FPD_SuffixAttribute : PropertyAttribute
|
||||
{
|
||||
public readonly float Min;
|
||||
public readonly float Max;
|
||||
public readonly SuffixMode Mode;
|
||||
public readonly string Suffix;
|
||||
public readonly bool editableValue;
|
||||
public readonly int widerField = 0;
|
||||
|
||||
public enum SuffixMode
|
||||
{
|
||||
From0to100,
|
||||
PercentageUnclamped,
|
||||
FromMinToMax,
|
||||
FromMinToMaxRounded
|
||||
}
|
||||
|
||||
// °
|
||||
public FPD_SuffixAttribute(float min, float max, SuffixMode mode = SuffixMode.From0to100, string suffix = "%", bool editable = true, int wider = 0)
|
||||
{
|
||||
Min = min;
|
||||
Max = max;
|
||||
Mode = mode;
|
||||
Suffix = suffix;
|
||||
editableValue = editable;
|
||||
widerField = wider;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user