文档

Unity Engine

Unity Engine

LastHeadDof

The last value of the HeadDof enum.
阅读时间1 分钟最后更新于 1 个月前

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); } }}