Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Animation.RemoveClip

Switch to Manual
public void RemoveClip(AnimationClip clip);

Description

Remove clip from the animation list.

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


public void RemoveClip(string clipName);

Description

Remove clip from the animation list.

This willl remove the animation state that match the name.