chenxin
2020-11-17 344267a8edb7bc6eaa67a0493292f438d31ca20e
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)