Version: 2022.3

ArmDof.LastArmDof

切换到手册

描述

ArmDof 枚举的最后一个值。

此值可在 for 循环中使用。

using UnityEngine;

using UnityEngine.Animations;

public class ExampleClass : MonoBehaviour { void Start() { for (int i = 0; i < (int)ArmDof.LastArmDof; ++i) { var handle = new MuscleHandle(HumanPartDof.LeftArm, (ArmDof)i); Debug.Log(handle.name); } } }