コード例 #1
0
ファイル: Play.cs プロジェクト: sefakozan/cchat
        public void PlaySound(CachedSound sound, bool isSigle = false)
        {
            if (isSigle)
            {
                mixer.RemoveAllMixerInputs();
            }

            AddMixerInput(new CachedSoundSampleProvider(sound));
        }
コード例 #2
0
ファイル: Play.cs プロジェクト: sefakozan/cchat
 public CachedSoundSampleProvider(CachedSound cachedSound)
 {
     this.cachedSound = cachedSound;
 }