From 3f2cd27c5dfb3b450245bf1a37fc1b3414031c7c Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期三, 11 二月 2026 11:03:58 +0800
Subject: [PATCH] 小游戏适配 资源系统改造
---
Main/System/HappyXB/HeroCallResultCell.cs | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Main/System/HappyXB/HeroCallResultCell.cs b/Main/System/HappyXB/HeroCallResultCell.cs
index 8a58e8b..96680e6 100644
--- a/Main/System/HappyXB/HeroCallResultCell.cs
+++ b/Main/System/HappyXB/HeroCallResultCell.cs
@@ -30,6 +30,7 @@
int delaytime = LocalSave.GetBool(HeroUIManager.skipKey + PlayerDatas.Instance.baseData.PlayerID, false) ? 50 * index : 100 * index;
await UniTask.Delay(delaytime);
+ if (this == null) return; // destroyed during await
this.transform.localScale = Vector3.one;
//鍏堟樉绀哄彴瀛愶紝鍐嶆樉绀哄皬浜�
heroModel.SetActive(false);
--
Gitblit v1.8.0