기술 자료

Unity Engine

Unity Engine

nameHash

The hashed name of the State.
읽는 시간 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
.