Is it possible to change the AnimationClip from a State in runtime?
Does anyone got a solution for this?
Is it possible to change the AnimationClip from a State in runtime?
Does anyone got a solution for this?
I’m not so sure it would work well that way, every time you change the clip on a state, the transition blends reset, so it would be a messy tactic anyways. Just make some more states and do some more scripting, use the bool, int system. Or you can try creating a Blend Tree inside the state you want to have the clip changed, some scripting will be required to get it to change when you want it to but there are references all around us.
I have the same question. I have animationClips made from spritesheets that I’d like to change within the code