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 loops.
forExamples
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); } }}