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

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

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