// Start is called before the first frame update
    private void Start()
    {
        menuScreen.SetActive(true);
        levelSelectScreen.SetActive(false);
        optionsScreen.SetActive(false);
        highscoreScreen.SetActive(false);
        aboutScreen.SetActive(false);

        ops.GetSound();
    }
Exemple #2
0
    private void Start()
    {
        retryButton.onClick.AddListener(Retry);
        exitButton.onClick.AddListener(Exit);
        submitButton.onClick.AddListener(Submit);

        resumeButton.onClick.AddListener(Resume);
        restartButton.onClick.AddListener(Retry);
        optionsButton.onClick.AddListener(Options);
        exitButtonPause.onClick.AddListener(Exit);
        backButton.onClick.AddListener(Back);

        ops.GetSound();
    }