API > Animator > keepAnimatorControllerStateOnDisable
Animator.keepAnimatorControllerStateOnDisable⚓︎
Name | Type |
---|---|
keepAnimatorControllerStateOnDisable | boolean |
Description⚓︎
Controls the behaviour of the Animator component when a GameObject is disabled.
Extra Detail⚓︎
Set to true to keep the current state of the Animator controller. Set to false to clear the current state of the Animator controller. The default value is false.