public void DetachSound(SoundSource source) { soundSources.Remove(source); SoundManager.Instance.Release(source); }
public void Release(SoundSource source) { source.Stop(); }
public void AttachSound(SoundSource source) { // Unlike animations, we will play all the sounds at the same time soundSources.Add(source); source.SoundDone += new SoundDoneEvent(SoundDoneHandler); }