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 |