Hello Unity Community!
I am trying to slowly move a panel out of view when the user clicks a button. I have tried to modify different properties of the Rect Transform in the Update function, but to no success. I set the rect transform publicly from the editor, and tried modifying every position property I could think of. Could someone describe a method of doing this or explain to me what I’m doing wrong?
Thanks for your time!
Set that panel position (alt+shift) to screen side where you want to hide it. Move it to position where it should be hidden, then create animation to show it. Next you have to simply run it in some script where you catch player input. (For hiding panel, simply use same animation but set it speed to -1)
Here are nice tutorials which I used, everything work like charm: