コード例 #1
0
 /// <summary>
 /// Dispose and sound instance and removes it from the controller sound instance list.
 /// </summary>
 /// <param name="soundInstance">Sound instance to destroy</param>
 internal void DestroySoundInstance(SoundEffectInstance soundInstance)
 {
     soundInstance.Dispose();
     associatedSoundEffectInstances.Remove(soundInstance);
 }