AnimatorStateInfo.length
var length: float;
float length;
length as float
Description

Current duration of the state.

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