Good Day,
I have made a UI button and attached the anchors to one corner of the canvas so when I have a different size screen it will maintain its general position (This works fine). Attached is some pics of how it looks at 2 different screen resolutions (Picture_1)
However, I am trying to add animation to the buttons using the Animator. So this is what I did in the inspector. Please note the animation were done as sequential sprites. This is how my INSPECTOR looked (Inspector Picture) I had to add Sprite Renderer to get the animation to show. However this is what if looks like now when I used different screen sizes (Picture_2).
Why doesn’t the sprite stay inside the Button Area? Shouldn’t the animator be where the button is? Does anyone know to resolve this issue? Using or not using playmaker?
It seems once you add a sprite to any UI object it no longer obeys the anchors. Why is this ?
Thanks