Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

HumanTrait.BoneName

Switch to Manual
public static var BoneName: string[];

Description

Array of the names of all human bone types defined by Mecanim.

function Start() {
	var boneName: String[] = HumanTrait.BoneName;
	
	for (var i = 0; i < HumanTrait.BoneCount; i++) {
		Debug.Log(boneName[i]);
	}
}