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

Animation.RemoveClip  

function RemoveClip (clip : AnimationClip) : void

Description

Remove clip from the animation list.

This willl remove the clip and any animation states based on it.

function RemoveClip (clipName : String) : void

Description

Remove clip from the animation list.

This willl remove the animation state that match the name.