public void Update() { float delta = Time.deltaTime; isSprinting = inputHandler.b_Input; inputHandler.TickInput(delta); HandleMovement(delta); HandleRollingAndSprinting(delta); }
// Update is called once per frame void Update() { float delta = Time.deltaTime; inputHandler.TickInput(delta); isInteracting = anim.GetBool("isInteracting"); playerLocomotion.HandleFalling(delta, playerLocomotion.moveDirection); }