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

    Struct ClockData

    Component data representing the clock data required to update a time.

    This needs to be paired with a single clock type. This information is written first in the ClockUpdateSystem then used in the TimerUpdateSystem to update the timer.

    Namespace: Unity.Scheduler
    Syntax
    public struct ClockData : IComponentData

    Fields

    DeltaTime

    The delta time provided by the clock

    Declaration
    public DiscreteTime DeltaTime
    Field Value
    Type Description
    DiscreteTime

    Scale

    The scale provided by the clock

    Declaration
    public double Scale
    Field Value
    Type Description
    Double
    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