|
JUtils
A unity utilities library
|
The base class for event channel based listeners. Recommended for UI or if the GO only has one event listener, otherwise consider using the BaseEventChannel<T> directly More...


Public Member Functions | |
| void | AddListener (Action< TArgument > listener) |
| Add a listener to the internal eventListener of this class More... | |
| void | RemoveListener (Action< TArgument > listener) |
| Remove a listener to the internal eventListener of this class More... | |
The base class for event channel based listeners. Recommended for UI or if the GO only has one event listener, otherwise consider using the BaseEventChannel<T> directly
When inheriting this class, it is recommended to leave the body empty
| TListener | : | BaseEventChannel<TArgument> |
|
inline |
Add a listener to the internal eventListener of this class
|
inline |
Remove a listener to the internal eventListener of this class