private void PlayStompSound(float volume) { SoundComponent stomp = this.Components.Get <SoundComponent>(); if (!stomp.IsRunning) { stomp.Volume = volume; stomp.PlayPitched(0.5f); } }
private void PlayStompSound(float volume) { SoundComponent stomp = this.Components.Get <SoundComponent>(); if (!stomp.IsRunning) { stomp.Volume = volume; stomp.PlayPitched(0.5f); } }