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

public int minPlayers;

Description

The minimum number of players required to be ready for the game to start.

If this is zero then the game can start with any number of players.