public void PlayLoop(SoundLoop sound, AudioSource source, float volumeFactor = 1) { SoundLoopClip c = audioFiles.SoundLoopToClip(sound); source.clip = c.Clip; source.volume = c.Volume * volumeFactor * globalVolume; source.Play(); }