Method group is Obsolete

NetworkConnection.isConnected

Cambiar al Manual
Obsolete public bool isConnected ;

Descripción

True if the connection is connected to a remote end-point.

This applies to NetworkServer and NetworkClient connections. When not connected, the hostID will be -1. When connected, the hostID will be a positive integer.