PushTime(TimeData)
Push a new temporary time value to the World's current time
阅读时间1 分钟最后更新于 19 天前
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