i got a problem when i want to use DoMove function with DOTween it move to the given point but slow at the end and i want to remove if is it possible.
CodePudding user response:
You can use Tween.SetEase(Ease)
to change the easing type:
transform.DOMove(position, overTime).SetEase(Ease.Linear);
You can also change the default easing type through DOTween.defaultEaseType
.
DOTween.defaultEaseType = Ease.Linear;