CoderM
2020-12-10 bd0ba263761a866ca0d698169d2d83b6a11c35e7
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)