Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetOverrideMotion(AnimatorState, Motion)

Sets the override motion for the state on the given layer.
Read time 1 minuteLast updated 11 days 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.