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["CollisionEvent3D"]-.->Type
click Implementing0 "/ultevents/api/UltEvents/CollisionEvent3D"
Implementing1["TriggerEvent3D"]-.->Type
click Implementing1 "/ultevents/api/UltEvents/TriggerEvent3D"
Implementing2["CollisionEvent2D"]-.->Type
click Implementing2 "/ultevents/api/UltEvents/CollisionEvent2D"
Implementing3["TriggerEvent2D"]-.->Type
click Implementing3 "/ultevents/api/UltEvents/TriggerEvent2D"
Implementing4["UltEvent<T0>"]-.->Type
click Implementing4 "/ultevents/api/UltEvents/UltEvent_1"
Syntax
public interface IUltEvent<T0> : IUltEventBase
Type Parameters
Name | Description |
---|---|
T0 |
Events
Name | Type | Summary |
---|---|---|
DynamicCalls | Action |
Delegates registered here are invoked by
UltEvents.UltEvent`1.Invoke(`0) after all
UltEvents.UltEvent`1.PersistentCalls .
|
Methods
Name | Value | Summary |
---|---|---|
Invoke |
void |
Invokes all
UltEvents.UltEvent.PersistentCalls then all UltEvents.IUltEvent`1.DynamicCalls .
|
Extension Methods
Name | Value | Summary |
---|---|---|
AddListener |
void |
Adds the `action` to the
UltEvents.IUltEvent.DynamicCalls . |
RemoveListener |
void |
Removes the `action` from the
UltEvents.IUltEvent.DynamicCalls . |