Hey there,
I’m using a sprite with an Animator to transition between animation states.
One layer is in a looping state which moves the object left and right.
The second layer sits in an idle state until a trigger is called by script which moves the second layer state into a “duck” state -which plays an animation that makes the object duck down.
I want the object to pause its left/right movement animation while the duck animation is called without resetting the position.
I’ve been looking around for a while now and can’t find any way to pause layers without modifying their weight.
Is there a way to just pause the layers animations or set the speed of that layer to 0? if there is another way of doing this I would reaaaally appreciate the help!
Thanks