Exemple #1
0
 void OnMouseDown()
 {
     if (!finished)
     {
         SwitchScenes.Get().ActiveContestScene(contestName, gameObject);
     }
 }
 public void MoveNext()
 {
     currentSentence = currentSentence.GoToNextSentence(this);
     if (currentSentence == null)
     {
         FinishGame();
         SwitchScenes.Get().ActiveMainScene();
     }
     else
     {
         currentSentence.ShowIn(this);
     }
 }