IUltEvent<T0> Interface

Summary

Allows you to expose the add and remove methods of an UltEvents.UltEvent`1 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>"] class Type type-node Implementing0["UltEvent<T0>"]-.->Type click Implementing0 "/ultevents/api/UltEvents/UltEvent_1"

Syntax

public interface IUltEvent<T0> : IUltEventBase

Type Parameters

Name Description
T0

Events

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

Methods

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

Extension Methods

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