Event OnTransportEvent
Occurs when the transport has a new transport network event. Can be used to make an event based transport instead of a poll based. Invocation has to occur on the Unity thread in the Update loop.
Namespace: Unity.Netcode
Assembly: solution.dll
Syntax
public event NetworkTransport.TransportEventDelegate OnTransportEvent
Returns
Type | Description |
---|---|
NetworkTransport.TransportEventDelegate |