12 lines
260 B
C#
12 lines
260 B
C#
|
using UnityEngine;
|
||
|
|
||
|
namespace RoR2.Mecanim;
|
||
|
|
||
|
public class ResetFootsteps : StateMachineBehaviour
|
||
|
{
|
||
|
public override void OnStateEnter(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
|
||
|
{
|
||
|
_ = (bool)animator.GetComponent<FootstepHandler>();
|
||
|
}
|
||
|
}
|