public void PlayStateFunc() { //Game starts playState at FALSE //if false, set true and then... //PLAY AUDIO if (!playState) { playState = true; ambientChanL.StopAmb(); ambientChanR.StopAmb(); for (int i = 0; i < stemChan.Length; i++) { stemChan[i].PlayAudio(); } } //if stepping on button again after playing //STOP AUDIO else { playState = false; ambientChanL.PlayAmb(); ambientChanR.PlayAmb(); for (int i = 0; i < stemChan.Length; i++) { stemChan[i].StopAudio(); } } }