GetSource(int)
Gets a constraint source by index.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Animations
- Assembly: UnityEngine.AnimationModule
ConstraintSource GetSource(int index)
Parameters
The index of the source.
Returns
Type | Description |
|---|---|
| ConstraintSource | The source object and its weight. |
Remarks
Throws ArgumentOutOfRangeException, if the index is invalid.