You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lanlib/Scripts/Runtime/EventManager/IClearableEventManager.cs

11 lines
348 B
C#

10 months ago
namespace LanLib.EventManager
{
public interface IClearableEventManager
{
/// <summary>
/// Clears listeners from specified event.
/// </summary>
/// <typeparam name="T">The type of event to remove listeners from. Must be a struct.</typeparam>
public void ClearEvent<T>() where T : struct;
}
}