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?
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?