Example #1
0
    IEnumerator WaitTilReloadingScene()
    {
        yield return(new WaitForSeconds(timeManager.timeBetweenReloadingScene));

        sceneManager.ReloadScene();
    }