Documentation

Unity Engine

Unity Engine

SetOverrideMotion(AnimatorState, Motion)

Sets the override motion for the state on the given layer.
Read time 1 minuteLast updated 2 months ago

Definition

public void SetOverrideMotion(AnimatorState state, Motion motion)

Parameters

The state which we want to set the motion.

motion

The motion that will be set.