Hello,
I'm trying to tween a Canvas Image so that it slides off to the left or right upon a button press. The button set-up etc is no problem, it's just the Rect Transform that I can't get right.
I'm using DoTween, but in the settings for the action, the Transform variables don't match the Rect Transform settings...
You can see the 'To' is X, Y and (W)idth, (H)eight.
But in the Rect Transform for the Image, it's Left, Right and Top, Bottom.
So, in a nutshell, which DoTween should I be using to animate the Image sliding off screen?
Thank you.
J.