It looks like you're new here. If you want to get involved, click one of these buttons!
Hello guys, im creating a calculator that eventually turns into a game and all of my objects in the screen are all UI buttons. I want to shake the UI buttons or the Canvas whenever i click one of them. But i cant seem to figure it out ☹️
Comments
Go to Window -> Animation -> Animation
Create a shake animation for your button and put in into an Animator.
Create a script, and a public function that plays the animation, and put it into the "Onclick" section on the button inspector.
Search "Animation in Unity" to learn how to use animators if you havn't already.