unity dotween start sequence code example
Example: Dotween value
float to = balance + totalPayment;
DOTween.To(() => balance, x => balance = x, to, 2).OnUpdate(UpdateUI);
float to = balance + totalPayment;
DOTween.To(() => balance, x => balance = x, to, 2).OnUpdate(UpdateUI);