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.

NetworkLobbyManager.TryToAddPlayer

public void TryToAddPlayer();

Description

This is used on clients to attempt to add a player to the game.

This may fail if the game is full or the connection cannot have more players.