Version: 2019.1
public void SetTranslationOffset (int index, Vector3 value);

パラメーター

indexThe index of the constraint source.
valueThe new translation offset.

説明

Sets the translation offset associated with a source by index.

Throws InvalidOperationException, if the list of sources is empty. Throws ArgumentOutOfRangeException, if the index is invalid.