Manual     Reference     Scripting  
  
Scripting > Runtime Classes > Animation Switch to Component   

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);