十年网站开发经验 + 多家企业客户 + 靠谱的建站团队
量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决
Namespace: UnityEngine
Information about the current or next state.
AnimatorStateInfo.nameHash
var nameHash: int;DescriptionName 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 aRun
state in the Base Layer
the string to generate the hash will be Base Layer.Run
.
AnimatorStateInfo.normalizedTimeNormalized time of the State.
The integer part is the number of time a state has been looped. The fractional part is the % (0-1) of progress in the current loop.