文档

Unity Engine

Unity Engine

GetSource(int)

Gets a constraint source by index.
阅读时间1 分钟最后更新于 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 ArgumentOutOfRangeException, if the index is invalid.