예제 #1
0
 protected bool Solve()
 {
     module.OnPass();
     DisplayCorrect();
     buttonsInteractable = false;
     return(false);
 }
 void Submitting()
 {
     if (selectedSong.Song.Equals(Displays[0].text) && selectedSong.Band.Equals(Displays[1].text))
     {
         moduleSolved     = true;
         Displays[0].text = "Good job!";
         Displays[1].text = "You rock!";
         Module.OnPass();
         foreach (var Button in Buttons)
         {
             Button.gameObject.SetActive(false);
         }
     }
     else
     {
         Module.OnStrike();
     }
 }