Esempio n. 1
0
    IEnumerator GameOverSeq()
    {
        m_audio.StopAll();
        m_audio.PlayOneShot(m_seGameOver, 1.0f, 0);
        Hud.get().DrawGameOver(true);
        yield return(new WaitForSeconds(5.0f));

        UnityEngine.SceneManagement.SceneManager.LoadScene("TitleScene");
    }