Animation.RemoveClip  

Scripting > Runtime Classes > Animation

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.