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