Closed igorskugar closed 1 year ago
Ahoy, and glad you like it :)
Via code, UI objects should never be moved via transform.DOMove, but via rectTransform.DOAnchorPos. This is a general rule also when moving them manually, because while you can indeed move a UI transform's position, its coordinates are not the same as its rectTransform's anchoredPosition
P.S. I raalized I should clarify: in the DOTweenAnimation component, when you use DOMove but it's attached to a UI's RectTransform, it automatically uses the anchoredPosition in the background
Wow, thanks for a detailed response ❤️ Lesson learned, issue fixed :)
Hi there,
I've purchased DOTween Pro yesterday and I love it.
I'm getting some weird values from
DOMoveY()
. This piece of code applied to aCanvas
, makes itsy
go from1.9
to2.0
, instead of expected2.0
to2.1
.Am I doing something wrong here or there is a bug?