Exemplo n.º 1
0
    public void OnClick()
    {
        recycleBin.Reset();
        iconSpawner.Reset();

        if (highScoreList.activeSelf)
        {
            highScoreList.SetActive(false);
        }

        if (!startUpSound.isPlaying)
        {
            startUpSound.Play();
        }

        popUpHelpBubble.SetActive(false);
        credits.SetActive(false);
        startMenu.SetActive(false);
    }