Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

var nameHash: int;
int nameHash;
nameHash as int

Description

Name 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.