From 537670a1e4dbdf26af45356a2f01c69a8d7dfee7 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 02 九月 2025 14:53:09 +0800
Subject: [PATCH] 50 【主界面】核心主体 - 主界面装备特效

---
 Main/Component/UI/Effect/UIEffectPlayer.cs |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/Main/Component/UI/Effect/UIEffectPlayer.cs b/Main/Component/UI/Effect/UIEffectPlayer.cs
index 5644c6f..a7aba56 100644
--- a/Main/Component/UI/Effect/UIEffectPlayer.cs
+++ b/Main/Component/UI/Effect/UIEffectPlayer.cs
@@ -12,20 +12,20 @@
 public class UIEffectPlayer : EffectPlayer
 {
 
-    
+
     //spine閲岀殑绗嚑涓姩鐢�
-    public void Play(int index, bool showLog = true)
+    public void Play(int index, bool showLog = true, bool closePMA = false)
     {
         playSpineAnimIndex = index;
-        PlayAsync(showLog).Forget();
+        PlayAsync(showLog, closePMA).Forget();
     }
 
     //閰嶇疆鍔ㄧ敾缁勬暟缁勭储寮�
-    public void PlayByArrIndex(int index, bool showLog = true)
+    public void PlayByArrIndex(int index, bool showLog = true, bool closePMA = false)
     {
         var config = EffectConfig.Get(effectId);
         playSpineAnimIndex = config.animIndex[index];
-        PlayAsync(showLog).Forget();
+        PlayAsync(showLog, closePMA).Forget();
     }
 
 
@@ -48,6 +48,5 @@
         effectPlayer.SetActive(true);
         return effectPlayer;
     }
-
 
 }

--
Gitblit v1.8.0