Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


runtimeAnimatorController

The runtime representation of AnimatorController that controls the Animator.
Read time 1 minuteLast updated 5 days ago

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.