This version of Unity is unsupported.
Method group is Obsolete

NetworkClient.Disconnect

Obsolete The high level API classes are deprecated and will be removed in the future.

Declaration

public void Disconnect();

Description

Disconnect from server.

The disconnect message will be invoked.