PushTime(TimeData)
Push a new temporary time value to the World's current time
Read time 1 minuteLast updated a day ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public void PushTime(TimeData newTimeData)
Parameters
The temporary TimeData.
Remarks
This is generally used to temporarily override the time for a world for the duration of a single ComponentSystemGroup update, when using fixed-timestep semantics. The original time can subsequently be restored with World.PopTime.
Additional Resources: World.PopTime