Unity/UniRx/Subject
サンプル
Subject<string> subject = new Subject<string>();
// イベント登録
subject.Subscribe(msg => Debug.Log("msg1:" + msg));
subject.Subscribe(msg => Debug.Log("msg2:" + msg));
// イベント発行
subject.OnNext("hello");
subject.OnNext("world");
ログ
msg1:hello msg2:hello msg1:world msg2:world