UpdateTick.md

May 21, 2024 ยท View on GitHub

Friflo.Engine.ECS

Friflo.Engine.ECS

UpdateTick Struct

Specify deltaTime and time for system execution in Update(UpdateTick).

public readonly struct UpdateTick

Remarks

In case of Unity:
MonoBehaviour.Update(): Time.deltaTime, Time.time
MonoBehaviour.LateUpdate(): Time.deltaTime, Time.time
MonoBehaviour.FixedUpdate(): Time.fixedDeltaTime, Time.fixedTime

Constructors
UpdateTick(float, float)Create a UpdateTick with the given deltaTime and time.
Fields
deltaTimeThe elapsed time since previous Update(UpdateTick) execution.
timeThe time at the beginning of the current frame.
Methods
ToString()