コード例 #1
0
ファイル: SoundModuleObject.cs プロジェクト: lane-s/ComposeVR
 void Update()
 {
     if (Input.GetKeyDown(KeyCode.F))
     {
         Debug.Log("Notes playing on module " + Controller.GetID());
         int[] playingNotes = Controller.GetPlayingNotes();
         for (int i = 0; i < playingNotes.Length; i++)
         {
             if (playingNotes[i] > 0)
             {
                 Debug.Log(i + " is playing on " + playingNotes[i] + " orbs");
             }
         }
     }
 }