Esempio n. 1
0
        public void PlaySound(CachedSound sound, bool isSigle = false)
        {
            if (isSigle)
            {
                mixer.RemoveAllMixerInputs();
            }

            AddMixerInput(new CachedSoundSampleProvider(sound));
        }
Esempio n. 2
0
 public CachedSoundSampleProvider(CachedSound cachedSound)
 {
     this.cachedSound = cachedSound;
 }