LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

NetworkLobbyManager.maxPlayersPerConnection

public int maxPlayersPerConnection;

Description

The maximum number of players per connection.

Calling [ClientScene.AddPlayer] will fail if this limit is reached.