PingPong
When time reaches the end of the animation clip, time will ping pong back between beginning and end.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
PingPong = 4
Remarks
It has same behaviour when playing backwards - when time reaches the beginning of the animation clip, time will ping pong back between beginning and end. The animation will never automatically stop playing.
Additional Resources: AnimationState.wrapMode, AnimationState.time, AnimationState.speed properties.