private void Update() { Vector3 velocity = cachedBody.velocity; cachedAnimation.SetFloat("VelocityY", velocity.y); cachedAnimation.SetFloat("Grabbing", cachedHands.GetGrabbedObject() ? 1.0f : 0.0f); cachedAnimation.SetBool("InAir", cachedCollision.InAir()); cachedAnimation.SetBool("Moving", cachedInput.IsMoving()); cachedAnimation.SetBool("Stunned", cachedHero.IsStunned()); }