TrySend(Guid, byte[])
Attempt to sends data to the Editor.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Networking.PlayerConnection
- Assembly: UnityEngine.CoreModule
public bool TrySend(Guid messageId, byte[] data)
Parameters
Returns
Type | Description |
|---|---|
| bool | Returns true when the Player sends data successfully, and false when there is no space in the socket ring buffer or sending fails. |