Animation.clip Manual     Reference     Scripting  
Scripting > Runtime Classes > Animation
Animation.clip

var clip : AnimationClip

Description

The default animation.

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