Exemple #1
0
    IEnumerator Death()
    {
        startRespawn    = false;
        playerNew.Alive = false;
        yield return(new WaitForSeconds(0.5f));

        playerNew.Respawn();
        isDead       = false;
        startRespawn = true;
    }