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/HeroSkinWin.cs |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/Main/System/HeroUI/HeroSkinWin.cs b/Main/System/HeroUI/HeroSkinWin.cs
index a97603c..c56e96c 100644
--- a/Main/System/HeroUI/HeroSkinWin.cs
+++ b/Main/System/HeroUI/HeroSkinWin.cs
@@ -1,4 +1,5 @@
 using System;
+using Cysharp.Threading.Tasks;
 using UnityEngine;
 using UnityEngine.UI;
 
@@ -61,7 +62,7 @@
         });
         shopBtn.AddListener(() =>
         {
-            UIManager.Instance.OpenWindow<StoreBaseWin>(1);
+            UIManager.Instance.OpenWindowAsync<StoreBaseWin>(1).Forget();
         });
         unlockBtn.AddListener(() =>
         {
@@ -85,7 +86,7 @@
         
         changeClothBtn.AddListener(() =>
         {
-            UIManager.Instance.OpenWindow<HeroSkinChooseWin>();
+            UIManager.Instance.OpenWindowAsync<HeroSkinChooseWin>().Forget();
         });
     }
 
@@ -158,8 +159,8 @@
         
         skinID = heroConfig.SkinIDList[tmpIndex];
         bgTexture.SetTexture2D(HeroUIManager.Instance.GetBGName(skinID, heroConfig.Country));
-        roleLhModel.Create(skinID, 1, motionName: "", isLh: true);
-        roleXsModel.Create(skinID, 1);
+        roleLhModel.Create(skinID, 1, motionName: "", isLh: true).Forget();
+        roleXsModel.Create(skinID, 1).Forget();
         HeroUIManager.Instance.PlayerLHSound(skinID);
         nameText.text = heroConfig.Name;
 

--
Gitblit v1.8.0