Пример #1
0
    public IEnumerator WinCoroutine(int score)
    {
        AudioManager.instance.PlaySound(Sound.Type.GameWin);
        yield return(new WaitForSecondsRealtime(0.8f));

        blocker.SetActive(true);
        if (highscoreHandler.IsHighscore(score))
        {
            inputWindow.Show(score);
        }
        gameWinWindow.SetActive(true);
    }