The last value of the BodyDof enum.
This value can be used in for
loops.
using UnityEngine;
using UnityEngine.Experimental.Animations;
public class ExampleClass : MonoBehaviour { void Start() { for (int i = 0; i < (int)BodyDof.LastBodyDof; ++i) { var handle = new MuscleHandle((BodyDof)i); Debug.Log(handle.name); } } }