1using Microsoft.Xna.Framework.Audio;
21 public virtual SoundEffectInstance
PlaySound(ref SoundEffectInstance soundInstance,
float volume,
float pan,
SoundType type) {
This class allows you to customize how a sound you add is played. To use this, pass an instance to Mo...
virtual SoundEffectInstance PlaySound(ref SoundEffectInstance soundInstance, float volume, float pan, SoundType type)
Override this hook to customize how this sound is played. If this sound is already currently playing,...
SoundEffect sound
The SoundEffect instance of the sound that this ModSound controls. This is here so you can call Creat...
SoundType
This is an enum of the types of sound you can add to the game. This is used for determining whether a...