how to change vignette intensity unity script code example
Example: change vignette intensity unity
DOTween.To(() => vignette.intensity.value = 0.7f, x => { vignette.intensity.value = x; }, 0f, 1f).SetLoops(5,LoopType.Restart);
DOTween.To(() => vignette.intensity.value = 0.7f, x => { vignette.intensity.value = x; }, 0f, 1f).SetLoops(5,LoopType.Restart);