示例#1
0
        public void UnRegisterSkillFilter(ISkillReleaseFilter filter)
        {
            if (!m_skillFilterMap.ContainsKey(filter))
            {
                return;
            }

            m_skillFilterMap.Remove(filter);
            m_SkillFilterList.Remove(filter);
        }
示例#2
0
        public void RegisterSkillFilter(ISkillReleaseFilter filter)
        {
            if (m_skillFilterMap.ContainsKey(filter))
            {
                return;
            }

            m_skillFilterMap.Add(filter, true);
            m_SkillFilterList.Add(filter);
        }