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.

AnimatorStateInfo.speed

public float speed;

Description

The playback speed of the animation. 1 is the normal playback speed.

A negative playback speed will play the animation from the end.

see AnimatorState.speed.