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/Battle/BattleEffectMgr.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Main/System/Battle/BattleEffectMgr.cs b/Main/System/Battle/BattleEffectMgr.cs
index eb29191..a015f53 100644
--- a/Main/System/Battle/BattleEffectMgr.cs
+++ b/Main/System/Battle/BattleEffectMgr.cs
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
+using Cysharp.Threading.Tasks;
using UnityEngine;
public class BattleEffectMgr
@@ -108,7 +109,7 @@
}
effectPlayer.SetSpeedRatio(battleField.speedRatio);
- effectPlayer.Play(true);
+ effectPlayer.Play(true).Forget();
effectPlayer.SetScaleX(isRedCamp ? 1 : -1);
--
Gitblit v1.8.0