1.2 KiB
1.2 KiB
NetworkedBehaviour.SendToClientsTarget Method (String, String, Byte[])
Sends a buffer to all clients from the server. Only handlers on this NetworkedBehaviour will get invoked
Namespace: MLAPI
Assembly: MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
protected void SendToClientsTarget(
string messageType,
string channelName,
byte[] data
)
Parameters
- messageType
- Type: System.String
User defined messageType - channelName
- Type: System.String
User defined channelName - data
- Type: System.Byte[]
The binary data to send
See Also
Reference
NetworkedBehaviour Class
SendToClientsTarget Overload
MLAPI Namespace