Example #1
0
    public IEnumerator GameOverCoroutine()
    {
        _bookshelfHighscores.AddNewHighscore(username, _score);
        yield return(new WaitForSeconds(waitTime));

        _placeHolder.SetActive(true);
        Debug.Log("Returning to start scene...");
    }