Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PingPong

When time reaches the end of the animation clip, time will ping pong back between beginning and end.
Read time 1 minuteLast updated 4 days ago

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.