ドキュメント

Unity Engine

Unity Engine

nameHash

The hashed name of the State.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
注意
Deprecated. AnimatorStateInfo.nameHash has been deprecated. Use AnimatorStateInfo.fullPathHash instead.
public int nameHash { get; }

Remarks

The hash includes the name of the parent layer. For example, if you have a
Run
state in the
Base Layer
, the string used to generate the hash is
Base Layer.Run
.