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

public void DisablePlayerObjects();

Description

This causes objects for known players to be disabled.

These objects are added to the pendingPlayers list, and will be re-enabled when their clients reconnect.

This happens when the connection to the host of the game is lost.