Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LastHeadDof

The last value of the HeadDof enum.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
LastHeadDof = 12

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)HeadDof.LastHeadDof; ++i) { var handle = new MuscleHandle((HeadDof)i); Debug.Log(handle.name); } }}