Enum NetworkEvent.Type
The different types of events that can be returned for a connection.
Namespace: Unity.Networking.Transport
Syntax
public enum Type : short
Fields
Name | Description | Value |
---|---|---|
Connect | The connection is now established. |
|
Data | Data was received on the connection. |
|
Disconnect | The connection is now closed. |
|
Empty | No event actually occured. Should be ignored. |