Sequence mySequence = DOTween.Sequence();
float to = balance + totalPayment; DOTween.To(() => balance, x => balance = x, to, 2).OnUpdate(UpdateUI);