販売でのレベルアップ演出のタイミング調整
This commit is contained in:
parent
998e1a1ec1
commit
a3c83fe6f8
|
|
@ -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(_ =>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue