예제 #1
0
    // Use this for initialization
    void Start()
    {
        dataController   = FindObjectOfType <DataController>();
        currentRoundData = dataController.GetCurrentRoundData();
        // questionPool = currentRoundData.questions;
        questionPool  = QuestionData.readQuestionsFromWeb();
        timeRemaining = currentRoundData.timeLimitInSeconds;
        UpdateTimeRemainingDisplay();

        playerScore   = 0;
        questionIndex = 0;

        ShowQuestion();
        isRoundActive = true;
    }