Delegate OnConnectionEventDelegate
Connection event delegate. OnConnectionEvent and OnConnectionEvent.
Namespace: Unity.Netcode
Assembly: Unity.NetCode.dll
Syntax
public delegate void OnConnectionEventDelegate(Connection connection, NetcodeConnectionEvent connectionEvent)
Parameters
| Type | Name | Description |
|---|---|---|
| Connection | connection | The connection the event applies to. |
| NetcodeConnectionEvent | connectionEvent | The details of the connection event. |