Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ClampForever

Plays back the animation. When it reaches the end, it will keep playing the last frame and never stop playing.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
ClampForever = 8

Remarks

When playing backwards it will reach the first frame and will keep playing that. This is useful for additive animations, which should never be stopped when they reach the maximum.