AnimatorStateInfo.length

var length : float

Description

Current duration of the state

In seconds Can vary when the State contains a Blend Tree