Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


length

Current duration of the state.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public float length { get; }

Remarks

In seconds Can vary when the State contains a Blend Tree.