기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


SetSource(int, ConstraintSource)

Sets a source at a specified index.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public void SetSource(int index, ConstraintSource source)

Parameters

index

The index of the source to set.

The source object and its weight.

Remarks

Throws ArgumentOutOfRangeException, if the index is invalid.