new AEventCallbackDict(name?: string, callbacks?: CallbacksDictType): AEventCallbackDict
Event callback dictionary. When you add a callback, it returns a switch.
If you call switch.activate() then the callback is added to the Dict.
if you call switch.deactivate() then the callback is removed.
deactivating it removes the record of it from the dictionary, so there is no pointer left
behind in the dictionary.
Event callback dictionary. When you add a callback, it returns a switch. If you call switch.activate() then the callback is added to the Dict. if you call switch.deactivate() then the callback is removed. deactivating it removes the record of it from the dictionary, so there is no pointer left behind in the dictionary.