From 0fa617a09eedf6bdb25eda55fac1d3344859fd93 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期二, 31 三月 2026 19:46:31 +0800
Subject: [PATCH] webgl
---
Main/System/Store/SkinStoreCell.cs | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Main/System/Store/SkinStoreCell.cs b/Main/System/Store/SkinStoreCell.cs
index fc34772..70f1095 100644
--- a/Main/System/Store/SkinStoreCell.cs
+++ b/Main/System/Store/SkinStoreCell.cs
@@ -1,4 +1,5 @@
锘縰sing System.Collections.Generic;
+using Cysharp.Threading.Tasks;
using UnityEngine;
using UnityEngine.UI;
@@ -60,13 +61,13 @@
{
HeroUIManager.Instance.selectForPreviewHeroID = heroID;
HeroUIManager.Instance.selectSkinIndex = HeroDebutManager.Instance.GetSkinIndexInHeroConfig(heroID, skinID);
- UIManager.Instance.OpenWindow<HeroBestBaseWin>(1);
+ UIManager.Instance.OpenWindowAsync<HeroBestBaseWin>(1).Forget();
});
}
void BuyGoods(int shopID)
{
StoreModel.Instance.buyShopID = shopID;
- UIManager.Instance.OpenWindow<SkinStoreBuyTipWin>();
+ UIManager.Instance.OpenWindowAsync<SkinStoreBuyTipWin>().Forget();
}
}
--
Gitblit v1.8.0