JUtils
A unity utilities library
JUtils.EventChannel Class Reference
Inheritance diagram for JUtils.EventChannel:
Collaboration diagram for JUtils.EventChannel:

Classes

struct  Empty
 

Public Member Functions

void AddListener (Action listener)
 
void RemoveListener (Action listener)
 
override void InvokeUnsafe (Empty argument)
 
- Public Member Functions inherited from JUtils.BaseEventChannel< EventChannel.Empty >
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...
 

Member Function Documentation

◆ AddListener()

void JUtils.EventChannel.AddListener ( Action  listener)
inline

◆ InvokeUnsafe()

override void JUtils.EventChannel.InvokeUnsafe ( Empty  argument)
inline

◆ RemoveListener()

void JUtils.EventChannel.RemoveListener ( Action  listener)
inline

The documentation for this class was generated from the following file: