From 1ab047b5fdd933c38ba0519ec2e83a44512ea8d7 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期四, 26 三月 2026 17:46:11 +0800
Subject: [PATCH] webgl代码合并 1

---
 Main/System/HeroUI/HeroUIManager.Talent.cs |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/Main/System/HeroUI/HeroUIManager.Talent.cs b/Main/System/HeroUI/HeroUIManager.Talent.cs
index 6b02438..b8b5b9f 100644
--- a/Main/System/HeroUI/HeroUIManager.Talent.cs
+++ b/Main/System/HeroUI/HeroUIManager.Talent.cs
@@ -1,6 +1,7 @@
 锘縰sing System;
 using System.Collections;
 using System.Collections.Generic;
+using Cysharp.Threading.Tasks;
 using LitJson;
 
 using UnityEngine;
@@ -140,7 +141,7 @@
                     }
                 }
 
-                giftBaseCells[i].Init(giftID, giftLV, state, hero.heroId, i, hero.awakeLevel);
+                giftBaseCells[i].Init(giftID, giftLV, state, hero.heroId, i, hero.awakeLevel).Forget();
             }
             else
             {
@@ -154,11 +155,11 @@
                 //闈炲姣旂殑鏄剧ず
                 if (i < normalGiftMaxCnt)
                 {
-                    giftBaseCells[i].Init(0, 0);
+                    giftBaseCells[i].Init(0, 0).Forget();
                 }
                 else
                 {
-                    giftBaseCells[i].Init(-1, 0, 0, hero.heroId, i);
+                    giftBaseCells[i].Init(-1, 0, 0, hero.heroId, i).Forget();
                 }
             }
 

--
Gitblit v1.8.0