IEnumerator WaitTilReloadingScene() { yield return(new WaitForSeconds(timeManager.timeBetweenReloadingScene)); sceneManager.ReloadScene(); }