Esempio n. 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);
     }
 }
 // Use this for initialization
 void Start()
 {
     main      = this;
     zoomStart = mainCamera.fieldOfView;
 }