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"); } } } }