private AudioSource Pause(AFSound sound) { if (sound.IsNull()) { throw new Exception("Audio not exists"); } OnAudioPause.Dispatch(sound); return(sound.Pause()); }
private AudioSource Pause(AFSound sound) { if (!m_audios.ContainsKey(name)) { throw new Exception("Audio not exists"); } OnAudioPause.Dispatch(sound); return(sound.Pause()); }