Struct TimerRange | DOTS Timeline | 0.8.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Struct TimerRange

    Component that constrains a timer to a given range

    Namespace: Unity.Scheduler
    Syntax
    public struct TimerRange : IComponentData

    Fields

    Behaviour

    The behaviour of the timer when the range is applied

    Declaration
    public RangeBehaviour Behaviour
    Field Value
    Type Description
    RangeBehaviour

    LoopCount

    The number of times the timer has looped

    Declaration
    public uint LoopCount
    Field Value
    Type Description
    UInt32

    Range

    The time range to use for the timer

    Declaration
    public DiscreteTimeInterval Range
    Field Value
    Type Description
    DiscreteTimeInterval

    SampleLastFrame

    Whether the timer should force the last frame to play before disabling.

    Declaration
    public bool SampleLastFrame
    Field Value
    Type Description
    Boolean
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023