IEnumerator WaitForStoppingGame() { circleController.StopRotationOfCircle(); yield return(new WaitForSeconds(WAIT_TIME_LOSING)); SwitchStateToDefeat(); wormController.ChangeStateToStop(); circleController.ChangeStateToStop(); ResetValues(); }