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.

NetworkMigrationManager.LostHostOnHost

public void LostHostOnHost();

Description

This should be called on a host when it has has been shutdown.

This causes the virtual function OnServerHostShutdown to be invoked. This is called automatically by the NetworkManager if one is in use.