dotween move continuously 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);