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.

NetworkConnection.hostId

public int hostId;

Description

Transport level host ID for this connection.

This is assigned by the transport layer and passed to the connection instance through the Initialize function.