From e262b2aeef271f99f2158979a921fee0ec9158e8 Mon Sep 17 00:00:00 2001 From: "DESKTOP-SAJ6RKV\\Administrator" Date: Wed, 4 Jun 2025 06:23:07 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E8=B5=9E=E5=A4=B4=E5=83=8F=E4=B8=8D?= =?UTF-8?q?=E4=BC=9A=E6=B6=88=E5=A4=B1=E7=9A=84Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../GameScripts/HotFix/GameLogic/UI/UIPlayerHeadItem.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIPlayerHeadItem.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIPlayerHeadItem.cs index cc367b3a..4de3324c 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIPlayerHeadItem.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIPlayerHeadItem.cs @@ -1,6 +1,7 @@ using UnityEngine; using UnityEngine.UI; using TEngine; +using Cysharp.Threading.Tasks; namespace GameLogic { @@ -30,10 +31,10 @@ namespace GameLogic public void OnInit(UnitPlayerData playerData) { - - // ÉèÖÃÍ·Ïñ AsyncImageDownload.Instance.SetAsyncImage(playerData.protCustMessageData.imgURL, m_imgHeadIcon); + + UniTask.Delay(5000).ContinueWith(() => { Destroy(); }); } } }