public void Unregister(LabelsPanel panel) { m_Panels.Remove(panel); panel.Unloaded -= HandlePanelUnloaded; }
public void Register(LabelsPanel panel) { Unregister(panel); m_Panels.Add(panel); panel.Unloaded += HandlePanelUnloaded; }