private void DoTriggerPress(object sender, ControllerInteractionEventArgs e)
 {
     playSong.StartSong();
     foreach (CrowdGenerator script in scripts)
     {
         script.Generate();
     }
 }
Exemplo n.º 2
0
 public void startGame()
 {
     scoreText.gameObject.GetComponent <Renderer>().enabled  = true;
     textObject.gameObject.GetComponent <Renderer>().enabled = true;
     gameStarted = true;
     playSong.StartSong();
     foreach (CrowdGenerator script in scripts)
     {
         script.Generate();
     }
 }