/// <summary>Removes a listener from the list.</summary> /// <param name="listener">The listener to remove.</param> public void UnregisterListener(GameEventListenerBase listener) => _listeners.Remove(listener);
/// <summary>Adds a listener to the list.</summary> /// <param name="listener">The listener to add.</param> public void RegisterListener(GameEventListenerBase listener) => _listeners.Add(listener);