Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LastBodyDof

The last value of the BodyDof enum.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
LastBodyDof = 9

Remarks

This value can be used in
for
loops.

Examples

using UnityEngine;using UnityEngine.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); } }}