Assets/Scripts/Event/EventBase.cs
@@ -18,6 +18,9 @@ //存放各种事件的字典 protected Dictionary<int, Delegate> m_EventTable = new Dictionary<int, Delegate>(); public void RemoveAllListener(){ m_EventTable = new Dictionary<int, Delegate>(); } #region 私有方法 private void OnListenerAdding(int eventType, Delegate callback)