Class CustomMessagingManager
The manager class to manage custom messages, note that this is different from the NetworkManager custom messages. These are named and are much easier to use.
Inherited Members
Namespace: Unity.Netcode
Assembly: solution.dll
Syntax
public class CustomMessagingManager
Methods
Name | Description |
---|---|
Register |
Registers a named message handler delegate. |
Send |
Sends the named message |
Send |
Sends a named message |
Send |
Sends a named message to all clients |
Send |
Sends unnamed message to a list of clients |
Send |
Sends a unnamed message to a specific client |
Send |
Sends unnamed message to all clients |
Unregister |
Unregisters a named message handler. |
Events
Name | Description |
---|---|
On |
Event invoked when unnamed messages arrive |