void Update() { if (machine.IsJumping() && CurrentMoveAnim != Jump && MoveAnimLerp == 0f) { SetMoveAnim(Jump, 0.3f); } if (!machine.IsJumping() && CurrentMoveAnim == Jump) { SetMoveAnim(Run, 0.3f); } if (Input.GetButtonDown("Sprint")) { SetMoveAnim(Walk, 0.5f); } if (Input.GetButtonUp("Sprint")) { SetMoveAnim(Run, 0.5f); } if (Input.GetButtonDown("Fire1")) { SetActionAnim(Strike, 0.3f, false, false); } }