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

Switch to Manual
public void SetMatchHost(string newHost, int port, bool https);

Parameters

newHost Hostname of matchmaker service.
port Port of matchmaker service.
https Protocol used by matchmaker service.

Description

This set the address of the matchmaker service.