private SoundInstance InternalPlaySound(Enum sound, bool loop) { int soundIndex = Convert.ToInt32(sound); var instance = this.soundPlayer.Play(this.sounds[soundIndex], SFX_VOLUME, loop); if (instance != null && this.muteSFX) { instance.Volume = 0f; } return instance; }