Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

HumanTrait.BoneFromMuscle

Declaration

public static int BoneFromMuscle(int i);

Parameters

i Muscle index.

Description

Return the bone to which a particular muscle is connected.

The bone and muscle indices used by this function are the same as those of the BoneName and MuscleName arrays respectively.