- Home /
Animation axis of UI element reversed (bug?)
Hello,
I am animating a UI element (a crystal; sprite). The animation is a simple sine movement along the y-axis. This works correctly so far.
Now if I add a sprite animation (image.sprite), the axis of the animation is reversed. The crystal now moves along the x-axis (animations that might have been set for the x-axis are ignored). In the Animator window, although the curve for the x-coordinate is a straight line, the number of the x-coordinate changes. As soon as I delete the image.sprite property from the animation it works correctly again.
This is occurring since I last updated Unity. The animation already existed and was working correctly before the last update. Might this be a bug of the new version?
Has anyone experienced anything similar?
Thanks! :)