Legacy Documentation: Version 2018.1 (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

manThe 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.

Did you find this page useful? Please give it a rating: