[This is preliminary documentation and is subject to change.]
The MessageBusManager type exposes the following members.Methods
Name | Description | |
---|---|---|
AddMessage T |
Broadcast message to all subscribers of the specified type and key
| |
ClearSubscriptionService |
Removes every message bus registered with the service. GameObjects will still
contain their subscription components but will no longer be subscribed.
| |
MessageKeyHasSubscribers T |
Determine whether there are subscribers for a specific message type and key
| |
RemoveSubscribers T |
Remove all subscribers of the specified message type and message key
| |
RemoveSubscriptionType T |
Remove the message bus and all subscriptions for the specified type. To recreate the bus,
components will need to Subscribe.
| |
Subscribe T |
Subscribe to messages of the specified Type and Message Key
| |
Unsubscribe T |
Removes the supplied subscription for the specified message key
| |
UnsubscribeFromAllKeys(IMessageSubscription) |
Removes the specified subscription when "T" is unavailable
| |
UnsubscribeFromAllKeys T (MessageSubscription T ) |
Checks all bus queues of message type T for the specified subscription and removes it.
|
See Also