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.Close
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.Close
Information 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 hash does not include the name of the parent layer.|
|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.|
Did you find this page useful? Please give it a rating: