Пример #1
0
    public void EndRound()
    {
        isRoundActive = false;
        player.StopTimer();
        scoreTracker.AddToTotalQuestion();
        questionDisplay.SetActive(false);
        roundEndDisplay.SetActive(true);
        //Change this to display a panel depending on the answer.

        if (playerScore >= 3) //give them the ticket.
        {
            wallBlock.SetActive(false);
        }
        else
        {
            audio.clip = RoundLost;
            audio.Play();
            questionTrigger.SetActive(true);
        }
    }