Once
When time reaches the end of the animation clip, the clip will automatically stop playing and time will be reset to beginning of the clip.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
Once = 1
Remarks
Note that when playing backwards and when the time reaches the beginning the clip will automatically stop playing, but the time won't be reset to the end - it will be kept at the beginning.
Additional Resources: AnimationState.wrapMode, AnimationState.time, AnimationState.speed properties.