UnityClient Members
The UnityClient type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
Connect |
Initiates a connection to the server using the configured IP and port.
|
![]() |
Destroy |
Disposes of the network driver if it has been created.
|
![]() |
GetConnection |
Gets the current network connection for this client.
|
![]() |
Initialize |
Initializes the client, calling the base class initialization method.
|
![]() |
IsConnected |
Checks if the client is currently connected to the server.
|
![]() |
IsConnectionInProgress |
Checks if the connection is currently in the process of connecting.
|
![]() |
IsConnectionLost |
Determines if the connection was lost since the last check.
|
![]() |
Process |
Processes network events such as sending and receiving messages, and handles connection state changes.
|
![]() |
SetConnection |
Sets the network connection for this client.
|