Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

AnimatorStateInfo.normalizedTime

var normalizedTime: float;
float normalizedTime;
normalizedTime as float

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.