Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

NetworkManager.OnMatchCreate

Switch to Manual
public function OnMatchCreate(matchInfo: Networking.Match.CreateMatchResponse): void;

Parameters

matchInfo Info about the match that has been created.

Description

This is invoked when a match has been created.

The default implementation of this starts a host for the match:

no example available in JavaScript