public void OnTimeScaleChanged(float newTimeScale) { for (int i = 0; i < playingSounds.Count; i++) { SoundInstance sfx = playingSounds[i]; sfx.SetTimeScale(newTimeScale); } }