Ejemplo n.º 1
0
    //TitleScreen --> MainMenu
    private IEnumerator GoToMainMenu()
    {
        AudioManager.instance.PlaySound(SoundType.Pop);
        title.Fade();
        subtitle.Fade();
        yield return(new WaitForSeconds(2));

        AudioManager.instance.PlaySound(SoundType.HardPop);
        gameStatus = GameStatus.OnMainMenu;
        mainMenuObjects.SetActive(true);
        busy = false;
    }