Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

AnimatorControllerLayer.GetOverrideMotion

Switch to Manual
public function GetOverrideMotion(state: Animations.AnimatorState): Motion;

Parameters

stateThe state which we want to get the motion.

Description

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