unregister_event_alias#
- carb.events.unregister_event_alias(
- event_type: int,
- push_event: str,
- pop_event: str,
Unregisters an alias between an IEvents `event_type` and IEventDispatcher event names.
This is the opposite behavior from register_event_alias() when called with the same arguments.
- Parameters:
event_type – (int) The EventType previously used with aliasing. May not be 0.
push_event – (str) The IEventDispatcher event name used for push (immediate) events.
pop_event – (str) The IEventDispatcher event name used for pop (deferred) events.
- Returns:
True if the aliases were removed; False if either alias could not be removed or event_type was 0.