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.

NetworkManager.SetupMigrationManager

public void SetupMigrationManager(Networking.NetworkMigrationManager man);

Parameters

man The migration manager object to use with the NetworkManager.

Description

This sets up a NetworkMigrationManager object to work with this NetworkManager.

The NetworkManager will automatically call functions on the migration manager, such as NetworkMigrationManager.LostHostOnClient when network events happen.