private void displayQuestion() { if (imageSetter == null) { Debug.Log("HITOSHI"); } imageSetter.SetImages(questionList[curQuestionIndex].ImageString); }
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); } } }