Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

New UI Button On Click(), how to play animtation?

$
0
0
I have a little problem playing animations after pressing given button using the new UI system.
I have my animation created that I want to play after pressing the key but I just cant get it working.
After creating animation, I got animator (component) on my desired object, I also added animation (component).

I tried using script too, with no success.

Errors I get:
-The AnimationClip 'slideout' used by the Animation component 'GameObject' must be marked as Legacy.

After changing to legacy(in...

New UI Button On Click(), how to play animtation?

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>