Static function
Fast
Viewport.Unsubscribe
Unsubscribes from all subscribed Events in this Class and in this Package, optionally passing the function to unsubscribe only that callback
Syntax
Viewport.Unsubscribe(event_name, callback = nil)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
event_name
|
string | — | Event to unsubscribe to |
callback
optional
|
function | nil |
Optional callback to specifically unsubscribe to |