LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

Animation.Blend

Switch to Manual
public void Blend(string animation, float targetWeight = 1.0F, float fadeLength = 0.3F);

Description

Blends the animation named animation towards targetWeight over the next time seconds.

Playback of other animations will not be affected.