Version: 2020.1

FingerDof.LastFingerDof

切换到手册

描述

FingerDof 枚举的最后一个值。

此值可在 for 循环中使用。

using UnityEngine;

using UnityEngine.Animations;

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