nanos world API Reference Unofficial documentation
Static function Client Fast

Input.Unsubscribe

Unsubscribes from all subscribed Events in this Class and in this Package, optionally passing the function to unsubscribe only that callback

Syntax

Lua
Input.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