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
In my game I have a ReactiveProperty<Vector3Int> pickedCell (from the UniRx package) that is written to when a cell on a grid is clicked on by the player.
Awaiting it directly works as I would expect:
varcell=awaitpickedCell;Debug.Log(cell);// Works!
However if I filter the events in any way - even a dummy one like here:
varcell=awaitpickedCell.Where(c =>true);Debug.Log(cell);// Never executes
The value is never returned.
Am I doing something wrong here?
The text was updated successfully, but these errors were encountered:
In my game I have a
ReactiveProperty<Vector3Int> pickedCell
(from the UniRx package) 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?
The text was updated successfully, but these errors were encountered: