dotween scale based on animator curve 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);