Targeting System 2.0.0
Plugin for multipurpose targeting and visual effects.
UniRx.MessageBroker Class Reference

In-Memory PubSub filtered by Type. More...

Inheritance diagram for UniRx.MessageBroker:
UniRx.IMessageBroker UniRx.IMessagePublisher UniRx.IMessageReceiver

Public Member Functions

void Publish< T > (T message)
 Send Message to all receiver. More...
 
IObservable< T > Receive< T > ()
 Subscribe typed message. More...
 
void Dispose ()
 
void Publish< T > (T message)
 Send Message to all receiver. More...
 
IObservable< T > Receive< T > ()
 Subscribe typed message. More...
 

Static Public Attributes

static readonly IMessageBroker Default = new MessageBroker()
 MessageBroker in Global scope.
 

Detailed Description

In-Memory PubSub filtered by Type.

Member Function Documentation

◆ Publish< T >()

void UniRx.MessageBroker.Publish< T > ( message)

Send Message to all receiver.

Implements UniRx.IMessagePublisher.

◆ Receive< T >()

IObservable< T > UniRx.MessageBroker.Receive< T > ( )

Subscribe typed message.

Implements UniRx.IMessageReceiver.


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