예제 #1
0
 public void OnClick()
 {
     if (buttonScript.IsThisButtonCorrect())
     {
         buttonScript.ButtonFound();
         buttonScript.ChangeState(new ButonStateCorrect());
     }
     else
     {
         LevelManager.Instance.LifeLost();
     }
 }