widgets.unbind_native

Removes both registrations created by widgets.bind_native.

Syntax

ue.widgets.unbind_native(native_id: integer, subscription_id: integer) -> boolean

Parameters

ParameterTypeDescription
native_idintegerNative binding ID.
subscription_idintegerLua subscription ID.

Returns

TypeDescription
booleanWhether either registration was removed.

Example

ue.widgets.unbind_native(native_id, subscription_id)

On this page