Step
method in Coherence.Core.NetworkTime
Methods
public void Step(double currentTime)
Updates the ClientSimulationFrame using the current game time, advancing one frame every 1/60 second. The NetworkTimeScale is smoothly interpolated towards TargetTimeScale with each call. With multiClientMode enabled, however, the callback trigger rate is scaled by NetworkTimeScale.
Parameters
Type | Name | Description |
---|---|---|
double | currentTime | The current game time, usually just Time.time. Must be non-zero for OnFixedNetworkUpdate to be invoked. |