This version of Unity is unsupported.
Method group is Obsolete

NetworkManager.StopHost

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

Declaration

public void StopHost();

Description

This stops both the client and the server that the manager is using.