休憩リワードボタンが消えてないのを修正

This commit is contained in:
kimura 2021-10-21 19:13:33 +09:00
parent 070be9e974
commit 5c25b9d07a
1 changed files with 3 additions and 0 deletions

View File

@ -49,6 +49,9 @@ public class KitchenManager : MonoBehaviour
{ {
CoinGetDialog.ShowDialog(refreshRewardCoin, () => CoinGetDialog.ShowDialog(refreshRewardCoin, () =>
{ {
adButton.gameObject.SetActive(false);
kitchenView.SetNormalAnimation();
CoinManager.Instance.AddCoinWithEffect(refreshRewardCoin); CoinManager.Instance.AddCoinWithEffect(refreshRewardCoin);
gameData.Coin = CoinManager.Instance.OwnCoin; gameData.Coin = CoinManager.Instance.OwnCoin;
gameData.kitchenRefreshTime = DateTime.UtcNow.AddSeconds(refreshWaitTime).ToBinary(); gameData.kitchenRefreshTime = DateTime.UtcNow.AddSeconds(refreshWaitTime).ToBinary();