- Home /
Question by
KashifInam · May 11, 2018 at 05:33 PM ·
animationanimation controlleranimationstate
How to reset the animation state to start it again
Hello! I am using an animation without looping which has only one state. And I want to reset it to start it again after some conditions. But it will never reset it's state.
I am using this line of code: animator.Play("my_anim", -1, 0f);
But it does not working for me and the animation state didn't reset.
Kindly help me out of it.
Comment