Version: 2019.1
public void AddChild (Motion motion);
public void AddChild (Motion motion, Vector2 position);
public void AddChild (Motion motion, float threshold);

Parameters

motionThe motion to add as child.
positionThe position of the child. When using 2D blend trees.
thresholdThe threshold of the child. When using 1D blend trees.

Description

Utility function to add a child motion to a blend trees.

This function pushes an Undo operation.