public void UnRegisterSkillFilter(ISkillReleaseFilter filter) { if (!m_skillFilterMap.ContainsKey(filter)) { return; } m_skillFilterMap.Remove(filter); m_SkillFilterList.Remove(filter); }
public void RegisterSkillFilter(ISkillReleaseFilter filter) { if (m_skillFilterMap.ContainsKey(filter)) { return; } m_skillFilterMap.Add(filter, true); m_SkillFilterList.Add(filter); }