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

public Networking.NetworkConnection FindConnection(int connectionId);

Parameters

connectionIdThe connection id to look up.

Returns

NetworkConnection A NetworkConnection objects, or null if no connection found.

Description

This looks up the network connection object for the specified connection Id.