public void FadeOut(float value, float time, bool stop = false) { TweenCase tweenCase = source.DOVolume(value, time); if (stop) { tweenCase.OnComplete(delegate { source.Stop(); }); } }