跳到主要内容
版本:0.4.1

Struct ModSystemBase.UpdateTick

Namespace: ReadyM.Relay.Server.Sdk.Ecs.Systems
Assembly: ReadyM.Relay.Server.Sdk.dll

Holds the time information for the current update tick.

protected readonly struct ModSystemBase.UpdateTick

Inherited Members​

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors​

UpdateTick(float, float)​

Holds the time information for the current update tick.

public UpdateTick(float deltaTime, float time)

Parameters​

deltaTime float

Time since last tick, in seconds.

time float

Total time since server start, in seconds.

Fields​

DeltaTime​

The time in seconds since the last tick.

public readonly float DeltaTime

Field Value​

float

Time​

The time at the beginning of the current frame since application start.

public readonly float Time

Field Value​

float