Script language:

  • JS
  • C#
  • Boo
Script language

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

Suggest a change

AnimatorStateInfo

Description

Information about the current or next state.

Variables

length Current duration of the state.
loop Is the state looping.
nameHash Name of the State.
normalizedTime Normalized time of the State.
tagHash The Tag of the State.

Functions

IsName Does name match the name of the active state in the statemachine?
IsTag Does tag match the tag of the active state in the statemachine.
Your name (optional):
Your email (optional):
Please write your suggestion here: