Interface which defines the handlers for NetworkRunner Updates. An implementation is responsible for calling NetworkRunner.UpdateInternal(double) and NetworkRunner.RenderInternal periodically. More...
Inherited by NetworkRunnerUpdaterDefault, and NetworkRunnerUpdaterDummy.
Public Member Functions | |
void | Initialize (NetworkRunner runner) |
Called when the NetworkRunner is started. More... | |
void | Shutdown (NetworkRunner runner) |
Called when the NetworkRunner is stopped. More... | |
Interface which defines the handlers for NetworkRunner Updates. An implementation is responsible for calling NetworkRunner.UpdateInternal(double) and NetworkRunner.RenderInternal periodically.
An instance of this interface can be passed to NetworkRunner.StartGame(StartGameArgs) as the StartGameArgs.Updater. By default (if StartGameArgs.Updater == null) Fusion will use NetworkRunnerUpdaterDefault, which invokes NetworkRunner.UpdateInternal(double) before script's Update and NetworkRunner.RenderInternal before LateUpdate.
void Initialize | ( | NetworkRunner | runner | ) |
Called when the NetworkRunner is started.
runner | The NetworkRunner instance. |
void Shutdown | ( | NetworkRunner | runner | ) |
Called when the NetworkRunner is stopped.
runner | The NetworkRunner instance. |