Version: 2022.2
public static string[] MuscleName ;

描述

Mecanim 定义的所有人形肌肉类型的名称的数组。

using UnityEngine;
using System.Collections;

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