AnimationState.length
var length: float;
Description

The length of the animation clip in seconds.

	// Print the length of the walk animation in seconds
	print (animation["Walk"].length);