BoneFromMuscle(int)
Return the bone to which a particular muscle is connected.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AnimationModule
public static int BoneFromMuscle(int i)
Parameters
Muscle index.
Returns
Type | Description |
|---|---|
| int |
Remarks
The bone and muscle indices used by this function are the same as those of the HumanTrait.BoneName and HumanTrait.MuscleName arrays respectively.