文档

Unity Engine

Unity Engine

LastBodyDof

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

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