LegDof 枚举的最后一个值。
此值可在 for
循环中使用。
using UnityEngine;
using UnityEngine.Experimental.Animations;
public class ExampleClass : MonoBehaviour { void Start() { for (int i = 0; i < (int)LegDof.LastLegDof; ++i) { var handle = new MuscleHandle(HumanPartDof.LeftLeg, (LegDof)i); Debug.Log(handle.name); } } }