How to use system events
EmitEvent
method on cardinal.WorldContext
will emit events to all clients under the subject “event”.
To see how to receive notifications go here: https://heroiclabs.com/docs/nakama/concepts/notifications/#receive-notifications (Unity)
Parameter | Type | Description |
---|---|---|
event | string | The string to emit as an event |