Legacy Documentation: Version 2017.2 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Animator.runtimeAnimatorController

Switch to Manual
public RuntimeAnimatorController runtimeAnimatorController;

Description

The runtime representation of AnimatorController that controls the Animator.

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

Did you find this page useful? Please give it a rating: