A class representing the association between event, subscriber, and subscriber callback method to invoke on event publication Implements the ISubscription interface
More...
A class representing the association between event, subscriber, and subscriber callback method to invoke on event publication Implements the ISubscription interface
- Template Parameters
-
TBusEvent | Type of event to which a subscriber is associated |
TSubscriber | Type of subscriber |
- Type Constraints
-
TBusEvent | : | BusEvent | |
TSubscriber | : | UnityEngine.Object | |
◆ Subscription()
Subscription constructor
- Parameters
-
action | Callback to be invoked on publication of given event |
subscriber | A reference to the subscribing Object |
◆ GetSubscriber()
◆ Publish()
The documentation for this class was generated from the following file:
- Assets/Astra/Utilities/EventBus.cs