Method ScheduleReceive
ScheduleReceive(NetworkPacketReceiver, JobHandle)
Schedule a ReceiveJob. This is used to read data from your supported medium and pass it to the AppendData function supplied by NetworkDriver
Declaration
JobHandle ScheduleReceive(NetworkPacketReceiver receiver, JobHandle dep)
Parameters
Type | Name | Description |
---|---|---|
NetworkPacketReceiver | receiver | A NetworkDriver used to parse the data received. |
JobHandle | dep | A JobHandle to any dependency we might have. |
Returns
Type | Description |
---|---|
JobHandle | A JobHandle to our newly created ScheduleReceive Job. |