Animator.keepAnimatorControllerStateOnDisable

Cambiar al Manual
public bool keepAnimatorControllerStateOnDisable ;

Descripción

Controls the behaviour of the Animator component when a GameObject is disabled.

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.


This property is serializable and can be saved in a prefab
This property applies to the AnimatorController associated with the Animator. This property does not affect AnimatorControllerPlayable.