Unity/R3/UniRxから移植
提供: 初心者エンジニアの簡易メモ
using置換
- using UniRx; + using R3; - using UniRx.Triggers; + using R3.Triggers;
参考:https://zenn.dev/tkada/articles/a96258e080056a
ObserveEveryValueChangedはEveryValueChangedへ
// UniRx transform.ObserveEveryValueChanged(_ => _.Count).Subscribe(count => Debug.Log(count)); // R3 Observable.EveryValueChanged(transform, _ => _.Count) .Subscribe(count => Debug.Log(count));