Answer the question
In order to leave comments, you need to log in
How to reset Animator to default state?
Good afternoon friends. An animator hangs on the object and plays animations.
At a certain point, the object becomes inactive and the animation remains at a certain stage.
How to make the animation get into its default (initial) state when the object is activated?
Please advise, thanks in advance!
Answer the question
In order to leave comments, you need to log in
So many years later... )
Animator .keepAnimatorControllerStateOnDisable = false;
But I think in your case just the opposite will help
.keepAnimatorControllerStateOnDisable = true;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question