From 6f3904eb049dcfc95cd706837c263c28a44afa76 Mon Sep 17 00:00:00 2001 From: "xiaohui.wang" Date: Fri, 1 Apr 2022 20:40:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E6=89=8B=E5=BC=95=E5=AF=BC=E4=B8=8D?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- popcorn/Assets/MyGame/Scenes/shopping/Scripts/Shopping.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/popcorn/Assets/MyGame/Scenes/shopping/Scripts/Shopping.cs b/popcorn/Assets/MyGame/Scenes/shopping/Scripts/Shopping.cs index bcfccbf9..3d92dbdd 100644 --- a/popcorn/Assets/MyGame/Scenes/shopping/Scripts/Shopping.cs +++ b/popcorn/Assets/MyGame/Scenes/shopping/Scripts/Shopping.cs @@ -62,7 +62,11 @@ public class Shopping : MonoBehaviour itemView.jumpPurchase = () => { - ShopItemPurchaseView.ShowDialog((shopData, GetItemAmount(shopData)), amount => + if (isTutorial) + { + return; + } + ShopItemPurchaseView.ShowDialog((shopData, GetItemAmount(shopData)), amount => { // アイテムを増やす AddItem(shopData, amount);