How do I make a UI Button play animation?
I'm making a mobile fighting game, and I'm thinking of using UI buttons too play the animations, for punching, kicking and specials all that kinds of stuff. Any help??? Need a script I tried everything, like the gameObject.GetComponent().Play ();... But that didn't really work out for me? Please HELP. Using Unity 5.5.0
Answer by Denscrivent · Feb 06, 2017 at 05:59 AM
change the transition in buttons to animation. and add your animations there
Your answer
Follow this Question
Related Questions
[SOLVED] GUI Button Rotate animation Unity 5 1 Answer
Someone please help me with combination lock 0 Answers
Can i update button listener? 0 Answers
How do I change UI button background AND button text on click(pressed)? 0 Answers
How to play different animations with different UI button presses. 1 Answer