private IEnumerator ManageLoop(AudioSourceAnimator animator, LoopGroup group, EffectFader fader) { var FadeControl = new VolumeControl(0.0f); animator.AddControl(FadeControl); while (true) { fader.Update(Time.deltaTime); FadeControl.Volume = fader.Value; yield return(null); } }