Enum SplineAnimate.LoopMode
Describes the different ways the object's animation along the Spline can be looped.
Namespace: UnityEngine.Splines
Assembly: Unity.Splines.dll
Syntax
public enum SplineAnimate.LoopMode
Fields
Name | Description |
---|---|
Loop | Traverse the spline continuously without stopping. |
LoopEaseInOnce | Traverse the spline continuously without stopping. If Easing is set to EaseIn or EaseInOut then easing is only applied to the first loop of the animation. Otherwise, no easing is applied with this loop mode. |
Once | Traverse the spline once and stop at the end. |
PingPong | Traverse the spline and then reverse direction at the end of the spline. The animation plays repeatedly. |