ドキュメント

Unity Engine

Download Unity

Unity Engine

PushTime(TimeData)

Push a new temporary time value to the World's current time
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public void PushTime(TimeData newTimeData)

Parameters

newTimeData

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