Mirror/Assets
vis2k 1ebb4368dd perf: NetworkServer: Broadcast() now only runs every tickInterval, even if Application.targetFrameRate isn't set in host mode.
previously a host may run at 120 Hz, and even with tickInterval set to 10 Hz, Broadcast() would run 120 times per second, checking every component's dirty bits + send interval.

note that the actual _send rate_ wasn't broken.
this change simply reduces the need to check for "has send rate elapsed?"

=> prepares for NetworkClient time snapshot interpolation, where time snapshots need to be sent only every sendInterval.
=> if host mode would send every update, this would be way too much.
2022-10-07 21:44:02 +02:00
..
Mirror perf: NetworkServer: Broadcast() now only runs every tickInterval, even if Application.targetFrameRate isn't set in host mode. 2022-10-07 21:44:02 +02:00
ScriptTemplates fixed NetworkManager Script Tempate 2022-05-13 10:32:44 -04:00
Mirror.meta
ScriptTemplates.meta feat: Add ScriptTemplates to repo and package (#2559) 2021-02-05 09:34:22 +08:00