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