IUltEvent<T0, T1> Interface

Summary

Allows you to expose the add and remove methods of an UltEvents.UltEvent`2 without exposing the rest of its members such as the ability to invoke it.
Assembly
UltEvents.dll
Namespace
UltEvents
Interfaces
Implementing Types
graph BT Type-.->Interface0["IUltEventBase"] click Interface0 "/ultevents/api/UltEvents/IUltEventBase" Type["IUltEvent<T0, T1>"] class Type type-node Implementing0["UltEvent<T0, T1>"]-.->Type click Implementing0 "/ultevents/api/UltEvents/UltEvent_2"

Syntax

public interface IUltEvent<T0, T1> : IUltEventBase

Type Parameters

Name Description
T0
T1

Events

Name Type Summary
DynamicCalls Action<T0, T1>
Delegates registered here are invoked by UltEvents.UltEvent`2.Invoke(`0,`1) after all UltEvents.UltEvent`2.PersistentCalls.

Methods

Name Value Summary
Invoke(T0, T1) void
Invokes all UltEvents.UltEvent.PersistentCalls then all UltEvents.IUltEvent`2.DynamicCalls.

Extension Methods

Name Value Summary
AddListener<T0, T1>(Action<T0, T1>) void
Adds the `action` to the UltEvents.IUltEvent.DynamicCalls.
RemoveListener<T0, T1>(Action<T0, T1>) void
Removes the `action` from the UltEvents.IUltEvent.DynamicCalls.