Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

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

NetworkManager.matchInfo

Switch to Manual
public Networking.Match.MatchInfo matchInfo;

Description

A MatchInfo instance that will be used when StartServer() or StartClient() are called.

Populating NetworkManager.matchInfo will make the game user the MatchMaker and RelayServer.