From d0cd5aa98787d6c1bad4bd4b90ffe57be2ada072 Mon Sep 17 00:00:00 2001 From: huyulong <1838407198@qq.com> Date: Wed, 27 Nov 2024 21:41:24 +0800 Subject: [PATCH] add --- TheStrongestSnail/Assets/common/base/EventPopUp.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TheStrongestSnail/Assets/common/base/EventPopUp.cs b/TheStrongestSnail/Assets/common/base/EventPopUp.cs index 3c6f8a5..85a3cfe 100644 --- a/TheStrongestSnail/Assets/common/base/EventPopUp.cs +++ b/TheStrongestSnail/Assets/common/base/EventPopUp.cs @@ -20,7 +20,7 @@ public class EventPopUp : MonoBehaviour Image.DOColor(new Color(1f, 1f, 1f, 0f), time); textobg.DOColor(new Color(1f, 1f, 1f, 0f), time); await Task.Delay(5100); - Destroy(gameObject); + Destroy(this.gameObject); } // Update is called once per frame