Page 1 of 1

Each button in response menu having separate animation

Posted: Sun Dec 29, 2024 10:11 pm
by TIM
Hi, I've been adding animations through the "show hide" under the Response Menu Panel. As attached in the gif below.

I have been able to set it up so that the whole panel of response buttons animates up together but what I would really like to be able to do is have them animated separately so I can offset their timing.

When I move the animator component to be on each response button it seems to animate only one button rather than all.

Is there a solution to this so each button can have its own separate animation?

And, is it possible to add animation to the selected button?

thanks

Re: Each button in response menu having separate animation

Posted: Mon Dec 30, 2024 8:40 am
by Tony Li
Hi,

If you want to do it without any scripting, you can configure the response menu panel animator's Show animation to animate all of the buttons individually:
buttonAnimation.png
buttonAnimation.png (45.62 KiB) Viewed 575 times

If a response button isn't needed for a particular menu, it will still be animated, but it will be inactive so the player won't see it.

To animate a response button when the player selects it (e.g., hovers with mouse or navigates to it with joystick), change the Button's Transition type to Animation. Then click Auto Generate Animation. This will create and assign an animator controller asset with all of the necessary states. You can assign this animator controller to all of your response buttons. Then create and assign animations to them.

Re: Each button in response menu having separate animation

Posted: Mon Dec 30, 2024 10:14 pm
by TIM
Thankyou! wasn't aware you could animate child objects from an animator. Worked a treat, thanks!

Re: Each button in response menu having separate animation

Posted: Tue Dec 31, 2024 7:09 am
by Tony Li
Glad to help!