Enum NetworkConnection.State
ConnectionState enumerates available connection states a connection can have.
Namespace: Unity.Networking.Transport
Syntax
public enum State
Fields
| Name | Description | Value |
|---|---|---|
| Disconnected | Indicates the connection is disconnected |
0 |
| Connecting | Indicates the connection is trying to connect. |
1 |
| AwaitingResponse | Indicates the connection is waiting for a connection response. |
2 |
| Connected | Indicates the connection is connected.. |
3 |