Method ScheduleUpdate
ScheduleUpdate(JobHandle)
Schedule an update job. This job will process incoming packets and check timeouts (queueing up the relevant events to be consumed by PopEvent(out NetworkConnection, out DataStreamReader) and Accept()) and will send any packets queued with EndSend(DataStreamWriter). This job should generally be scheduled once per tick.
Declaration
public JobHandle ScheduleUpdate(JobHandle dependency = default)
Parameters
Type | Name | Description |
---|---|---|
JobHandle | dependency | Job to depend on. |
Returns
Type | Description |
---|---|
JobHandle | Handle to the update job. |