Hi all. So i got a strange problem with UI elemtnt rotation.
Here is a small demo:
As you can see on demo, texture doesn’t turn around its center. It moves up and down, or right and left.
Here is texture:
And code of demo:
http://pastebin.com/ZCXTDG5y
Tnx