From bc1cb6da854cb2e9144f10ed55330a537ecdca16 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期三, 04 三月 2026 14:35:57 +0800
Subject: [PATCH] 466 h5版本 资源规则修改 打包修改(未完成 勿拉取)
---
Main/System/Battle/UIComp/BossHeadCell.cs | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/Main/System/Battle/UIComp/BossHeadCell.cs b/Main/System/Battle/UIComp/BossHeadCell.cs
index 9d2caea..a6d6b0d 100644
--- a/Main/System/Battle/UIComp/BossHeadCell.cs
+++ b/Main/System/Battle/UIComp/BossHeadCell.cs
@@ -23,7 +23,14 @@
}
HeroSkinConfig heroSkinConfig = teamHero.skinConfig;
- imgIcon.sprite = UILoader.LoadSprite("HeroHead", heroSkinConfig.SquareIcon);
+ UILoader.LoadSpriteAsync("HeroHead", heroSkinConfig.SquareIcon).ContinueWith(sprite =>
+ {
+ if (imgIcon == null || this == null)
+ {
+ return;
+ }
+ imgIcon.sprite = sprite;
+ }).Forget();
txtLv.text = Language.Get("Arena22", teamHero.level);
// TODO YYL
--
Gitblit v1.8.0