ミス数に達してもゲームが続くよう変更

This commit is contained in:
kimura 2021-08-05 09:40:08 +09:00
parent 1c6798cdb8
commit fc064d6a2f
1 changed files with 6 additions and 6 deletions

View File

@ -82,12 +82,12 @@ public class CornManager : MonoBehaviour
}).AddTo(this); }).AddTo(this);
// ミス数上限で失敗 // ミス数上限で失敗
missCount // missCount
.Where(x => x == maxFailedCornCount) // .Where(x => x == maxFailedCornCount)
.Subscribe(_ => // .Subscribe(_ =>
{ // {
SetResult(CornResult.Failure); // SetResult(CornResult.Failure);
}).AddTo(this); // }).AddTo(this);
#if DEVELOPMENT_BUILD || UNITY_EDITOR #if DEVELOPMENT_BUILD || UNITY_EDITOR
cornCountSlider.wholeNumbers = true; cornCountSlider.wholeNumbers = true;