文档

Unity Engine

Unity Engine

runtimeAnimatorController

The runtime representation of AnimatorController that controls the Animator.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public RuntimeAnimatorController runtimeAnimatorController { get; set; }

Remarks

Swapping Animator.runtimeAnimatorController with an AnimatorOverrideController based on the same AnimatorController at runtime doesn't reset state machine's current state.