文档

Unity Engine

Unity Engine

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.