Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

LegDof.LastLegDof

Description

The last value of the LegDof enum.

This value can be used in for loops.

using UnityEngine;

using UnityEngine.Experimental.Animations;

public class ExampleClass : MonoBehaviour { void Start() { for (int i = 0; i < (int)LegDof.LastLegDof; ++i) { var handle = new MuscleHandle(HumanPartDof.LeftLeg, (LegDof)i); Debug.Log(handle.name); } } }

Did you find this page useful? Please give it a rating: