Default implementation of INetworkRunnerUpdater that uses the Unity PlayerLoop.
More...
Inherits INetworkRunnerUpdater.
Default implementation of INetworkRunnerUpdater that uses the Unity PlayerLoop.
◆ RegisterInPlayerLoop()
Registers in the PlayerLoop.
- Parameters
-
updateSettings | Update settings. |
renderSettings | Render settings. |
- Returns
- True if registered, false if already registered with the same settings.
◆ UnregisterFromPlayerLoop()
static bool UnregisterFromPlayerLoop |
( |
| ) |
|
|
static |
Unregisters from the PlayerLoop.
- Returns
- True if unregistered, false if not registered.
◆ RenderSettings
Initial value:= new NetworkRunnerUpdaterDefaultInvokeSettings {
ReferencePlayerLoopSystem = typeof(Update.ScriptRunBehaviourUpdate),
}
UnityPlayerLoopSystemAddMode
Enum representing the possible modes for adding a system to the Unity player loop.
Definition: UnityPlayerLoopSystemUtils.cs:10
Default settings for the NetworkRunner Render Loop.
◆ UpdateSettings
Initial value:= new NetworkRunnerUpdaterDefaultInvokeSettings {
ReferencePlayerLoopSystem = typeof(Update.ScriptRunBehaviourUpdate),
}
Default settings for the NetworkRunner Update Loop.