Open topic with navigation
<EventClass>.callback
Registers the EventClass with the event type.
<EventClass>.callback( |
|
event |
function |
priority = 0 |
) |
|
event
The event ID to register the callback for
function
The function to register with the callback
priority = 0
The priority to register the function with
Remarks
To unregister the event class with an event, pass 0 as the function value. Only one function can be registered per event per event class.
Return Value
None
See also