The last value of the LegDof enum.
This value can be used in for
loops.
using UnityEngine;
using UnityEngine.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); } } }