Select your preferred scripting language. All code snippets will be displayed in this language.
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.
CloseName of the State.
The hash is generated using Animator::StringToHash. The string to pass should include the parent layer's name. For example, if you have a Run
state in the Base Layer
the string to generate the hash will be Base Layer.Run
.