Enum LoopMode | Project Tiny | 0.31.0-preview.24
docs.unity.cn
    Show / Hide Table of Contents

    Enum LoopMode

    Namespace: Unity.Tiny
    Syntax
    public enum LoopMode

    Fields

    Name Description Value
    Loop

    The value is looped. It goes from the min to the max value. When the value reaches the max value, it starts from the beginning. It works in both directions.

    0
    Once

    The value is clamped between min and max value. If the value is equal or larger than max value, the caller should be notified about the end of the animation/sequence.

    1
    PingPong

    The value goes between min and max back and forth.

    2
    PingPongOnce

    Same as PingPong, but performs only one cycle. If the value is equal or larger than max value, the caller should be notified about the end of the animation/sequence.

    3
    ClampForever

    The value is clamped between min and max value.

    4
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 06 November 2020