Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

AnimatorTransitionInfo.nameHash

Switch to Manual
public var nameHash: int;

Description

The simplified name of the Transition.

Format is "CURRENT_STATE -> NEXT_STATE" The hash is generated using Animator::StringToHash.