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/HeroSkinRoleCell.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Main/System/HeroUI/HeroSkinRoleCell.cs b/Main/System/HeroUI/HeroSkinRoleCell.cs
index a0a6fef..eb91d08 100644
--- a/Main/System/HeroUI/HeroSkinRoleCell.cs
+++ b/Main/System/HeroUI/HeroSkinRoleCell.cs
@@ -1,5 +1,6 @@
锘縰sing System;
using System.Collections.Generic;
+using Cysharp.Threading.Tasks;
using UnityEngine;
using UnityEngine.UI;
public class HeroSkinRoleCell : MonoBehaviour
@@ -12,7 +13,7 @@
public void Display(HeroConfig heroConfig, int index)
{
selectImg.SetActive(HeroSkinChooseWin.selectIndex == index);
- heroModel.Create(heroConfig.SkinIDList[index], heroConfig.UIScale);
+ heroModel.Create(heroConfig.SkinIDList[index], heroConfig.UIScale).Forget();
selectBtn.AddListener(() =>
{
var ui = UIManager.Instance.GetUI<HeroSkinChooseWin>();
--
Gitblit v1.8.0