Version: 2017.3

NetworkServerSimple.SetConnectionAtIndex

Cambiar al Manual
public bool SetConnectionAtIndex (Networking.NetworkConnection conn);

Parámetros

conn A new connection object.

Valor de retorno

bool True if added.

Descripción

This adds a connection created by external code to the server's list of connections, at the connection's connectionId index.

Connections are usually added automatically, this is a low-level function for the rare special case of externally created connections.