Exemple #1
0
        private AudioSource Pause(AFSound sound)
        {
            if (sound.IsNull())
            {
                throw new Exception("Audio not exists");
            }

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

            OnAudioPause.Dispatch(sound);
            return(sound.Pause());
        }