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
I tried to open the example game in Unity 2019.3, but Unity showed some errors, related to this repo's included version of UniRx.
So, I updated the UniRx's Scripts folder to the latest version (UniRx 7.1.0), and that fixed most errors.
But after updating UniRx, there were still some errors in Game.cs.
To solve the errors, I just had to change the following line of code:
Line 14 private ReactiveProperty<int> scoreDelayed, highscore;
to private IReadOnlyReactiveProperty<int> scoreDelayed, highscore;
And I had to comment Line 106 scoreDelayed.SetValueAndForceNotify(0); // Force notify so that delayed score updates instantly
Then, the example worked correctly in Unity 2019.3.
The text was updated successfully, but these errors were encountered:
I tried to open the example game in Unity 2019.3, but Unity showed some errors, related to this repo's included version of UniRx.
So, I updated the UniRx's Scripts folder to the latest version (UniRx 7.1.0), and that fixed most errors.
But after updating UniRx, there were still some errors in Game.cs.
To solve the errors, I just had to change the following line of code:
Line 14
private ReactiveProperty<int> scoreDelayed, highscore;
to
private IReadOnlyReactiveProperty<int> scoreDelayed, highscore;
And I had to comment Line 106
scoreDelayed.SetValueAndForceNotify(0); // Force notify so that delayed score updates instantly
Then, the example worked correctly in Unity 2019.3.
The text was updated successfully, but these errors were encountered: