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.normalizedTime

public float normalizedTime;

Description

Normalized time of the State.

The integer part is the number of time a state has been looped. The fractional part is the % (0-1) of progress in the current loop.