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.

NetworkServerSimple.OnConnectError

public void OnConnectError(int connectionId, byte error);

Parameters

connectionIdThe id of the connection with the error.
errorThe error code.

Description

A virtual function that is invoked when there is a connection error.