IEnumerator _PlayEndCards(string s, string _scene)
    {
        endCard.PlayCard();
        yield return(new WaitForSeconds(3));

        finalCard.PlayCard(_scene);
        finalCard.SetText(s);
    }
Exemple #2
0
    IEnumerator _PlayFinalCard(float t)
    {
        AudioManager audioManager = GameObject.Find("AudioManager").GetComponent <AudioManager>();

        audioManager.SetBackgroundMusicVolume(0);
        finalCard.PlayCard("sbx");
        yield return(null);
    }