Struct NetworkStreamRequestDisconnect
A component used to signal that the game logic wants to close the connection
Inherited Members
Namespace: Unity.NetCode
Assembly: solution.dll
Syntax
public struct NetworkStreamRequestDisconnect : IComponentData, IQueryTypeParameter
Fields
| Name | Description |
|---|---|
| Reason | Optional, the reason for the disconnection. The default is ConnectionClose. |