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.

NetworkPeerType

enumeration

Description

Describes the status of the network interface peer type as returned by Network.peerType.

Properties

DisconnectedNo client connection running. Server not initialized.
ServerRunning as server.
ClientRunning as client.
ConnectingAttempting to connect to a server.