Static function
Fast
Events.UnsubscribeRemote
Removes a network event listener previously registered with <code>Events.SubscribeRemote()</code>. If no specific callback function is passed, it removes ALL remote listeners for that event name in the current Package
Syntax
Events.UnsubscribeRemote(event_name, callback = nil)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
event_name
|
string | — | The Event Name to unsubscribe |
callback
optional
|
function | nil |
The callback function to unsubscribe |