販売でのレベルアップ演出のタイミング調整

This commit is contained in:
kimura 2022-02-14 17:53:18 +09:00
parent 998e1a1ec1
commit a3c83fe6f8
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ public class MarketManager : MonoBehaviour
// ハートゲージがフルかつダイアログが開いていない場合レベルアップ // ハートゲージがフルかつダイアログが開いていない場合レベルアップ
HeartMeter.Instance.FulledHeart HeartMeter.Instance.FulledHeart
.CombineLatest(market.IsPromotion.Delay(TimeSpan.FromSeconds(1f)), (fulled, isPromotion) => fulled && !isPromotion) .CombineLatest(market.IsPromotion.Delay(TimeSpan.FromSeconds(1f)), (fulled, isPromotion) => fulled && !isPromotion)
.DistinctUntilChanged()
.Where(x => x) .Where(x => x)
.DelaySubscription(TimeSpan.FromSeconds(.4f)) .DelaySubscription(TimeSpan.FromSeconds(.4f))
.Subscribe(_ => .Subscribe(_ =>