From ade48751a1eabd873d5283f174f8d3cafbfbcecc Mon Sep 17 00:00:00 2001 From: kimura Date: Mon, 30 Aug 2021 12:15:54 +0900 Subject: [PATCH] =?UTF-8?q?missing=E3=82=A8=E3=83=A9=E3=83=BC=E8=A7=A3?= =?UTF-8?q?=E6=B6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Assets/MyGame/Scenes/marketing/Scripts/HeartAnimation.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/popcorn/Assets/MyGame/Scenes/marketing/Scripts/HeartAnimation.cs b/popcorn/Assets/MyGame/Scenes/marketing/Scripts/HeartAnimation.cs index 81e48637..eb3acc6b 100644 --- a/popcorn/Assets/MyGame/Scenes/marketing/Scripts/HeartAnimation.cs +++ b/popcorn/Assets/MyGame/Scenes/marketing/Scripts/HeartAnimation.cs @@ -29,7 +29,8 @@ public class HeartAnimation : MonoBehaviour this.CallWaitForSeconds(1f, () => { callback?.Invoke(); - Destroy(bigHeart, 1f); + Destroy(bigHeart); + Destroy(gameObject); }); }); });