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