- Home /
Question by
JustAbhi · Dec 13, 2021 at 05:55 AM ·
animationanimatoranimator controllerc# tutorial
Animate a button.
Hello,
So i have a various buttons in my game which have the same animations(rotation and change of sprite).
My question is that can i make a single animation and pass the sprite that is to be changed and animate it or do i have to have a animation clip and controller for every button.
Can i also do it through code like make a clip and instantiate it with the button at runtime?
If so could you please provide the link?
Comment