タンク入れ替え修正

This commit is contained in:
kimura 2022-05-18 13:29:58 +09:00
parent e63423a875
commit 150cb96281
1 changed files with 1 additions and 0 deletions

View File

@ -223,6 +223,7 @@ public class ProductManagement : MonoBehaviour
// 2連続でクリックされたViewがまとめて取得できるストリーム
var replacingObservable = tankClickStream
.TakeWhile(_ => state.Value != ManagementState.Tasting)
.Where(tankView => tankView.State.Value != TankState.Lock)
.Pairwise();
// タンク入れ替え
state.Where(x => x == ManagementState.None)