Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TrySend(Guid, byte[])

Attempt to sends data to the Editor.
Read time 1 minuteLast updated 13 days ago

Definition

public bool TrySend(Guid messageId, byte[] data)

Parameters

messageId

The type ID of the message that is sent to the Editor.

data

Returns

Type

Description

boolReturns true when the Player sends data successfully, and false when there is no space in the socket ring buffer or sending fails.