文档

Unity Engine

Unity Engine

LastArmDof

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

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
LastArmDof = 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)ArmDof.LastArmDof; ++i) { var handle = new MuscleHandle(HumanPartDof.LeftArm, (ArmDof)i); Debug.Log(handle.name); } }}