Version: 2023.1
public static string[] BoneName ;

描述

Mecanim 定义的所有人形骨骼类型的名称的数组。

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Start() { string[] boneName = HumanTrait.BoneName; for (int i = 0; i < HumanTrait.BoneCount; ++i) { Debug.Log(boneName[i]); } } }