com.onlineobject.objectnet Namespace

UnityClient Methods

The UnityClient type exposes the following members.

Methods


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