Version: 2018.2
public bool Send (short msgType, Networking.MessageBase msg);

Parameters

msgTypeThe ID of the message to send.
msgThe message to send.

Returns

bool True if the message was sent.

Description

This sends a network message with a message ID on the connection. This message is sent on channel zero, which by default is the reliable channel.