Enum SplineAnimate.LoopMode
Describes the different ways the object's animation along the Spline can be looped.
Namespace: UnityEngine.Splines
Syntax
public enum LoopMode
Fields
Name | Description | Value |
---|---|---|
Loop | Traverse the Spline continuously without stopping. |
|
LoopEaseInOnce | Traverse the Spline continuously without stopping. If Easing is set to EaseIn or EaseInOut then only ease in is applied and only during the first loop. Otherwise, no easing is applied when using this loop mode. |
|
Once | Traverse the Spline once and stop at the end. |
|
PingPong | Traverse the Spline continuously without stopping and reverse movement direction uppon reaching end or beginning of the Spline. |