From 0fa617a09eedf6bdb25eda55fac1d3344859fd93 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期二, 31 三月 2026 19:46:31 +0800
Subject: [PATCH] webgl
---
Main/System/HeroUI/HeroGiftEatSuccessWin.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Main/System/HeroUI/HeroGiftEatSuccessWin.cs b/Main/System/HeroUI/HeroGiftEatSuccessWin.cs
index 54ff34b..c4cdd86 100644
--- a/Main/System/HeroUI/HeroGiftEatSuccessWin.cs
+++ b/Main/System/HeroUI/HeroGiftEatSuccessWin.cs
@@ -1,5 +1,6 @@
using System.Collections.Generic;
using System.Linq;
+using Cysharp.Threading.Tasks;
using UnityEngine;
using UnityEngine.UI;
@@ -74,7 +75,7 @@
var heroConfig = hero.heroConfig;
taiziBG.SetSprite("herodz" + heroConfig.Quality);
- heroModel.Create(hero.SkinID, heroConfig.UIScale);
+ heroModel.Create(hero.SkinID, heroConfig.UIScale).Forget();
nameText.text = hero.breakLevel == 0 ? heroConfig.Name : Language.Get("herocardbreaklv", heroConfig.Name, hero.breakLevel);
nameText.color = UIHelper.GetUIColorByFunc(heroConfig.Quality);
}
--
Gitblit v1.8.0