Version: 2023.2
言語: 日本語
Method group is Obsolete

Animator.keepAnimatorControllerStateOnDisable

マニュアルに切り替える
Obsolete public bool keepAnimatorControllerStateOnDisable ;

説明

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

This property is obsolete, use Animator.keepAnimatorStateOnDisable instead.


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.