EventBus.Unsubscribe(Action) Method
Definition¶
Namespace: Brine2D.Events
Manually unsubscribes a handler. Prefer disposing the token returned by Subscribe<T>(Action<T>) — it calls this method and is idempotent.
public void Unsubscribe<T>(System.Action<T> handler)
where T : class;
Type parameters¶
T
Parameters¶
handler System.Action<T>
Implements Unsubscribe<T>(Action<T>)