Array of the names of all human bone types defined by Mecanim.
using UnityEngine; using System.Collections;
public class ExampleClass : MonoBehaviour { void Start() { string[] boneName = HumanTrait.BoneName; int i = 0; while (i < HumanTrait.BoneCount) { Debug.Log(boneName[i]); i++; } } }