Hi everyone, i need your help.
I’ve got different models for enemies and the same script for all of them. The thing is that i want to assign them random animations on runtime.
Also have 4 different idles, 4 attack and 4 death animations. I want assign them randomly everytime that an enemy is instantiated.
How can i make this in C#??
Thank you 
Hi Fabri,
i do that with an randomly set value to chose a transition in the animator controller.
But the guy in this thread changing state's clip randomly & changing state speed per clip - Unity Engine - Unity Discussions found an other way.
@hakankaraduman how do you change the animations in the animator controller?
I would be interested in that too.