liuzhiwei
2020-12-21 1fbd60b81ef4a93df75c32e7d9aa285d8fa533d1
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)