|
JUtils
A unity utilities library
|
The base class for an simple event channel More...


Public Member Functions | |
| void | AddListener (Action< T > listener) |
| Add a listener to this event channel More... | |
| void | RemoveListener (Action< T > listener) |
| Remove a listener from this event channel More... | |
| virtual void | InvokeUnsafe (T argument) |
| Unsafe version of the EventChannelExtensions.Invoke function. This is directly on the class, but it does not have check if the channel is null or not. More... | |
The base class for an simple event channel
Event channels are scriptable objects that can dynamically be assigned
When inheriting this class, it is recommended to leave the body empty
|
inline |
Add a listener to this event channel
|
inlinevirtual |
Unsafe version of the EventChannelExtensions.Invoke function. This is directly on the class, but it does not have check if the channel is null or not.
| argument |
|
inline |
Remove a listener from this event channel