public void AddEventListener<T>(string _evtType, BaseEventHandler<T> _handler) where T : BaseEvent { FlowDispatcher.AddEventListener<T>(_evtType, _handler); }
public void AddEventListener(string _evtType, BaseEventHandler<FlowEvent> _handler) { // Inherit from EventDispatcher. FlowDispatcher.AddEventListener<FlowEvent>(_evtType, _handler); }