This version of Unity is unsupported.

PositionConstraint.SetSource

public void SetSource(int index, Animations.ConstraintSource source);

Parameters

indexThe index of the source to set.
sourceThe source object and its weight.

Description

Sets a source at a specified index.

Throws ArgumentOutOfRangeException, if the index is invalid.