기술 자료

Unity Engine

Unity Engine

GetSource(int)

Gets a constraint source by index.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public ConstraintSource GetSource(int index)

Parameters

index

The index of the source.

Returns

Type

Description

ConstraintSourceThe source object and its weight.

Remarks

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