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

Script language

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

AnimatorControllerLayer.GetOverrideMotion

public Motion GetOverrideMotion(Animations.AnimatorState state);

Parameters

state The state which we want to get the motion.

Description

Gets the override motion for the state on the given layer.