Exemple #1
0
 private void displayQuestion()
 {
     if (imageSetter == null)
     {
         Debug.Log("HITOSHI");
     }
     imageSetter.SetImages(questionList[curQuestionIndex].ImageString);
 }
Exemple #2
0
    private void setPracticeScreenActive(bool b)
    {
        fruits.SetActive(b);
        explanationScreen.SetActive(!b);
        explanationTxt.gameObject.SetActive(!b);
        buttons[1].SetActive(!b);

        if (b)
        {
            if (currentscreen == currentScreen.PracticeApple)
            {
                imageSetter.SetImages(ApplePractice);
                sampleApple.SetActive(false);
            }
            else
            {
                imageSetter.SetImages(OrangePractice);
                sampleOrange.SetActive(false);
            }
        }
    }