LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

NetworkManager.OnStopServer

public void OnStopServer();

Description

This hook is called when a server is stopped - including when a host is stopped.