Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

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

ClientScene.SetReconnectId

public static void SetReconnectId(int newReconnectId, PeerInfoMessage[] peers);

Parameters

newReconnectId The Id to use when reconnecting to a game.
peers The set of known peers in the game. This may be null.

Description

Sets the Id that the ClientScene will use when reconnecting to a new host after host migration.

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