기술 자료

Unity Engine

Unity Engine

Send

Sends data to the connected Players.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

Send(Guid, byte[], int)

Sends data to the connected Players.
public void Send(Guid messageId, byte[] data, int playerId)

Parameters

messageId

The type ID of the message to send to the connected Players.

data


playerId

The ID of the Player that you want to sent this message to. If you want to send it to all Players, set this to 0.

Send(Guid, byte[])

Sends data to the connected Players.
public void Send(Guid messageId, byte[] data)

Parameters

messageId

The type ID of the message to send to the connected Players.

data