You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.
I think I figured it out:
LINQ-like functions, including Where return an IObservable which when awaited, by default returns after the observable stream is completed (the value being the last value in the stream)
In my game I have a
ReactiveProperty<Vector3Int> pickedCell
that is written to when a cell on a grid is clicked on by the player.Awaiting it directly works as I would expect:
However if I filter the events in any way - even a dummy one like here:
The value is never returned.
Am I doing something wrong here?
To be clear - I'm using UniTask, but I reproduced this with a clean project with just UniRx installed.
The text was updated successfully, but these errors were encountered: