예제 #1
0
 public void CheckCorrect(int value)
 {
     if (quiz.CheckCorrect(value))
     {
         panel.SetActive(false);
     }
     else
     {
         panel.SetActive(false);
         GameObject.FindGameObjectWithTag("Monster").GetComponent <MonsterController>().JumpScare();
     }
 }