From 1f2fab325f2e7c699ceb48b29d54e846570f7342 Mon Sep 17 00:00:00 2001 From: kimura Date: Wed, 27 Oct 2021 15:42:22 +0900 Subject: [PATCH] =?UTF-8?q?Callback=E4=BD=BF=E7=94=A8=E5=BE=8C=E5=89=8A?= =?UTF-8?q?=E9=99=A4=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- popcorn/Assets/MyGame/Scenes/marketing/Scripts/ShopLevelUp.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/popcorn/Assets/MyGame/Scenes/marketing/Scripts/ShopLevelUp.cs b/popcorn/Assets/MyGame/Scenes/marketing/Scripts/ShopLevelUp.cs index e0fb02fa..45460ff8 100644 --- a/popcorn/Assets/MyGame/Scenes/marketing/Scripts/ShopLevelUp.cs +++ b/popcorn/Assets/MyGame/Scenes/marketing/Scripts/ShopLevelUp.cs @@ -41,6 +41,7 @@ public class ShopLevelUp : MonoBehaviour GameDataManager.SaveGameData(); HeartMeter.Instance.SetShopLevel(GameDataManager.GameData.ViewedShopLevel, true); LocalCacheManager.Load(CallbackTag, null)?.Invoke(); + LocalCacheManager.Remove(CallbackTag); })); TransitionManager.Instance.LoadSceneAdditive(GameScenes.Conversation); } @@ -51,6 +52,7 @@ public class ShopLevelUp : MonoBehaviour GameDataManager.SaveGameData(); HeartMeter.Instance.SetShopLevel(GameDataManager.GameData.ViewedShopLevel, true); LocalCacheManager.Load(CallbackTag, null)?.Invoke(); + LocalCacheManager.Remove(CallbackTag); } }); }).AddTo(this);