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 |