AnimatorStateInfo Struct

Information about the current or next state.

Variables
nameHash

Name of the State.

normalizedTime

Normalized time of the State.

length

Current duration of the state.

tagHash

The Tag of the State.

loop

Is the state looping.

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.