Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetPort()

Retrieves the port where the ChannelService runs. This port is chosen randomly when the ChannelService first starts. Alternatively you can specify the port from the command line, using the --ump-channel-service-port \<portNumber\> switch.
Read time 1 minuteLast updated 12 days ago

Definition

public static int GetPort()

Returns

Type

Description

intThe port number of the ChannelService.