Select your preferred scripting language. All code snippets will be displayed in this language.
struct in UnityEngine
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseInformation about the current or next state.
fullPathHash | The full path hash for this state. |
length | Current duration of the state. |
loop | Is the state looping. |
normalizedTime | Normalized time of the State. |
shortNameHash | The hash is generated using Animator::StringToHash. The string to pass doest not include the parent layer's name. |
speed | The playback speed of the animation. 1 is the normal playback speed. |
speedMultiplier | The speed multiplier for this state. |
tagHash | The Tag of the State. |