Field TargetFrameRateMode
If the server is capable of updating more often than the simulation tick rate it can either
skip the simulation tick for some updates (BusyWait
) or limit the updates using
Application.TargetFrameRate
(Sleep
). Auto
makes it use Sleep
for dedicated server
builds and BusyWait
for client and server builds (as well as the editor).
Namespace: Unity.NetCode
Assembly: solution.dll
Syntax
public ClientServerTickRate.FrameRateMode TargetFrameRateMode
Returns
Type | Description |
---|---|
ClientServerTickRate.FrameRateMode |