Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

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.