docs.unity.cn
    Show / Hide Table of Contents

    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
    Once

    Traverse the spline once and stop at the end.


    0
    Loop

    Traverse the spline continuously without stopping.


    1
    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.


    2
    PingPong

    Traverse the spline and then reverse direction at the end of the spline. The animation plays repeatedly.


    3
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, April 27, 2023