AnimatorStateInfo
摘要:动画状态信息命名空间:UnityEngineDescription有关当前下一状态的信息。动画状态信息。nameHashvarnameHash:int;描述State的名称。Thehashis生成动画::StringToHash
AnimatorStateInfo
Namespace: UnityEngine
Description
Information about the current or next state.
AnimatorStateInfo.nameHash
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
.
AnimatorStateInfo.normalizedTimevar normalizedTime: float;
Description
Normalized 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.
免责声明:文章转载自《AnimatorStateInfo》仅用于学习参考。如对内容有疑问,请及时联系本站处理。
上篇于win7使用虚拟磁盘隐藏文件三把利器快速制作代码帮助文档下篇
宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=