Upload from upload_mods.ps1
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class AnimationAimRecoilResetState : StateMachineBehaviour
|
||||
{
|
||||
public override void OnStateEnter(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
|
||||
{
|
||||
animator.GetComponent<AnimationAimRecoilReferences>()?.Rollback();
|
||||
}
|
||||
|
||||
public override void OnStateExit(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
|
||||
{
|
||||
animator.GetComponent<AnimationAimRecoilReferences>()?.Rollback();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user