Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

ChannelService.Broadcast

Declaration

public static void Broadcast(int channelId, byte[] data);

Declaration

public static void Broadcast(int channelId, string data);

Parameters

channelId The ID of the channel to send the message to.
data The message to send. It can be binary or UTF8.

Description

Sends a message to all of a specific channel's ChannelClient connections.