IEnumerator FallImminent(float waitTime) { fallImminent = true; yield return(new WaitForSeconds(waitTime)); print("I fell."); _movementEnabled = false; _controller.RemoveConstraints(); fallImminent = false; falling = true; }