Legacy Documentation: Version 2018.1 (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

stateThe state which we want to get the motion.

Description

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

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