Dotteen Dovalue
DOTween.To(x => myfloat = x, startValue, endValue, duration);
Omadel
DOTween.To(x => myfloat = x, startValue, endValue, duration);