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.

NetworkManager.OnMatchCreate

public void OnMatchCreate(bool success, string extendedInfo, Networking.Match.MatchInfo matchInfo);

Parameters

successIndicates if the request succeeded.
extendedInfoA text description for the error if success is false.
matchInfoThe information about the newly created match.

Description

Callback that happens when a NetworkMatch.CreateMatch request has been processed on the server.