From 64fe2c8e74fc685fbdf48325da22169f47c116a0 Mon Sep 17 00:00:00 2001 From: kimura Date: Mon, 14 Feb 2022 10:29:02 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=9D=E3=83=BC=E3=82=BA=E4=B8=AD=E5=8B=95?= =?UTF-8?q?=E4=BD=9C=E5=AE=9A=E7=BE=A9=E3=82=92pinkView=E5=88=9D=E6=9C=9F?= =?UTF-8?q?=E5=8C=96=E5=BE=8C=E3=81=AB=E7=A7=BB=E5=8B=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Scenes/marketing/Scripts/MarketManager.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/popcorn/Assets/MyGame/Scenes/marketing/Scripts/MarketManager.cs b/popcorn/Assets/MyGame/Scenes/marketing/Scripts/MarketManager.cs index a6c19e91..c07b36da 100644 --- a/popcorn/Assets/MyGame/Scenes/marketing/Scripts/MarketManager.cs +++ b/popcorn/Assets/MyGame/Scenes/marketing/Scripts/MarketManager.cs @@ -82,15 +82,6 @@ public class MarketManager : MonoBehaviour CoinManager.Instance.ChangeCoin(gameData.Coin); HeartMeter.Instance.Initialize(gameData.ViewedShopLevel, gameData.Heart); - - // ポーズ中動作指定 - market.IsPause.Subscribe(isPause => - { - vipCustomerButtonView.SetActive(isPause); - // 兄弟非表示 - blueView.SetActive(!isPause); - BrotherPinkView.Instance.SetActive(!isPause); - }).AddTo(this); // ハートゲージがフルかつダイアログが開いていない場合レベルアップ HeartMeter.Instance.FulledHeart @@ -129,6 +120,15 @@ public class MarketManager : MonoBehaviour cartView.SetStock(startStocks, false); BrotherPinkView.Instance.SetBrotherView(pinkTarget); + // ポーズ中動作指定 + market.IsPause.Subscribe(isPause => + { + vipCustomerButtonView.SetActive(isPause); + // 兄弟非表示 + blueView.SetActive(!isPause); + BrotherPinkView.Instance.SetActive(!isPause); + }).AddTo(this); + // 宣伝ボタン rewardButtonView.RewardButton.ThrottleFirst(TimeSpan.FromSeconds(.3f)).Subscribe(_ => {