Enum SplineAnimate.LoopMode
Describes the different ways the object's animation along the Spline can be looped.
Namespace: UnityEngine.Splines
Syntax
public enum LoopMode : int
Fields
Name | Description | Value |
---|---|---|
Loop | Traverse the Spline continously without stopping. |
|
LoopEaseInOnce | Traverse the Spline continously without stopping. If easingMode 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 continously without stopping and reverse movement direction uppon reaching end or beginning of the Spline. |