Ejemplo n.º 1
0
    IEnumerator DeathDelay()
    {
        yield return(new WaitForSeconds(2.0f)); // Wait 2 seconds

        deathScreen.CallEndMenu(score);         // Call the death screen
    }