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.timeMonoBehaviour.LateUpdate(): Time.deltaTime, Time.timeMonoBehaviour.FixedUpdate(): Time.fixedDeltaTime, Time.fixedTime
| Constructors | |
|---|---|
| UpdateTick(float, float) | Create a UpdateTick with the given deltaTime and time. |
| Fields | |
|---|---|
| deltaTime | The elapsed time since previous Update(UpdateTick) execution. |
| time | The time at the beginning of the current frame. |
| Methods | |
|---|---|
| ToString() |