Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#
Method group is Obsolete

NetworkConnection.isConnected

Obsolete public bool isConnected;

Description

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.

Did you find this page useful? Please give it a rating: