015CA99A-0F42-46E6-839F-6DD589E7D39A
using UniRx;
using UnityEngine;
public class Sample : MonoBehaviour
{
private readonly Subject<string> subject = new Subject<string>();
private void Start()
{
this.subject.Subscribe(msg => Debug.Log("Subscribe1 : " + msg));
this.subject.Subscribe(msg => Debug.Log("Subscribe2 : " + msg));
this.subject.Subscribe(msg => Debug.Log("Subscribe3 : " + msg));
this.subject.OnNext("Hello");
this.subject.OnNext("Hi");
}
}