Example #1
0
 /// <summary>
 /// 取消订阅事件处理函数。
 /// </summary>
 /// <param name="id">事件类型编号。</param>
 /// <param name="handler">要取消订阅的事件处理函数。</param>
 public void Unsubscribe(int id, EventHandler <GameEventArgs> handler)
 {
     m_EventPool.Unsubscribe(id, handler);
 }
 public void Unsubscribe(enEventID id, EventHandler <GameEventArgs> handler)
 {
     eventPool.Unsubscribe(id, handler);
 }