Is it possible for Multiple Enemy animations on the same enemy

Very interesting approach. Thank you for sharing this @JuliuszK

I know it’s been long time since you posted this question and you probably solved it yourself or maybe just moved on, but I’m replying in case anyone else is looking for a similar answer.
This can be done by creating Parameters in the Animator window (top left side of the pane) and using them as conditions to your clip Transitions. Then in your code you use Animator class’ method SetInteger() to choose between different values, like 0 for left and 1 for right.
The above values’ choice is arbitrary of course. Alternatively you could use different type of parameters too, like Boolean or Trigger and use SetBool() or SetTrigger() methods respectively. But anyway parameters and Transition conditions are way to do it.

Privacy & Terms