private void DoTriggerPress(object sender, ControllerInteractionEventArgs e) { playSong.StartSong(); foreach (CrowdGenerator script in scripts) { script.Generate(); } }
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(); } }