AnimationClip.length
var length: float;
Description

Animation length in seconds. (Read Only)

	animation.Play();
	// Wait for the animation to have finished
	yield WaitForSeconds (animation.clip.length);