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

NetworkManager.IsClientConnected

Obsolete public bool IsClientConnected();

Returns

bool True if the NetworkManagers client is connected to a server.

Description

This checks if the NetworkManager has a client and that it is connected to a server.

This is more specific than NetworkClient.isActive, which will be true if there are any clients active, rather than just the NetworkManager's client.

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