기술 자료

Unity Engine

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.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static int GetPort()

Returns

Type

Description

intThe port number of the ChannelService.