カスタマイズ機能の入手済み説明ポップの表示修正

This commit is contained in:
kimura 2022-08-15 15:49:37 +09:00
parent 87aa651f6c
commit 5affd50d92
1 changed files with 2 additions and 2 deletions

View File

@ -66,8 +66,8 @@ namespace MyGame.Scenes.marketing.Scripts
wingPriceObject.SetActive(!detailMode && customizeData.PriceType == ShopCustomizePriceType.Coin);
needScoreObject.SetActive(!detailMode && customizeData.PriceType == ShopCustomizePriceType.TotalScore1);
purchaseButton.SetActive(GameDataManager.GameData.ShopCustomizeCoin >= customizeData.price);
purchaseButton.gameObject.SetActive(customizeData.PriceType == ShopCustomizePriceType.Coin);
goToMiniGameButton.gameObject.SetActive(customizeData.PriceType == ShopCustomizePriceType.TotalScore1);
purchaseButton.gameObject.SetActive(!detailMode && customizeData.PriceType == ShopCustomizePriceType.Coin);
goToMiniGameButton.gameObject.SetActive(!detailMode && customizeData.PriceType == ShopCustomizePriceType.TotalScore1);
nameText.text = customizeData.Name;
textText.text = customizeData.Text;
wingPriceText.text = customizeData.price.ToString();