Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

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

AnimationState.speed

Switch to Manual
public float speed;

Description

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

A negative playback speed will play the animation backwards.

no example available in C#

See Also: AnimationState.time, AnimationState.wrapMode properties and WrapMode enum.