using System.Collections; using System.Collections.Generic; using UnityEngine; public class VoiceController_ : MonoBehaviour { public AudioSource[] audioAll; public void StopAllAudio() { foreach (AudioSource a in audioAll) { a.Stop(); } } }