18 lines
279 B
C#
18 lines
279 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace BitStrap
|
|
{
|
|
[Serializable]
|
|
public class FloatAnimationParameter : AnimationParameter
|
|
{
|
|
public void Set(Animator animator, float value)
|
|
{
|
|
if (animator.isInitialized)
|
|
{
|
|
animator.SetFloat(base.Index, value);
|
|
}
|
|
}
|
|
}
|
|
}
|