From a2a86b160ae0a0f982edd3749ed4c1fa0d517556 Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期五, 21 十一月 2025 11:09:45 +0800
Subject: [PATCH] 262 幻境阁系统-客户端 修复先看静态图再看spine残留静态图
---
Main/System/PhantasmPavilion/PhantasmPavilionManager.cs | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/Main/System/PhantasmPavilion/PhantasmPavilionManager.cs b/Main/System/PhantasmPavilion/PhantasmPavilionManager.cs
index 8425e25..e80f837 100644
--- a/Main/System/PhantasmPavilion/PhantasmPavilionManager.cs
+++ b/Main/System/PhantasmPavilion/PhantasmPavilionManager.cs
@@ -229,8 +229,6 @@
spine.enabled = false;
uiFrame.enabled = false;
-
-
if (sprite == null)
{
if (!IconConfig.HasKey(resourceValue))
@@ -246,6 +244,10 @@
imgFace.enabled = true;
uiFrame.enabled = false;
spine.enabled = true;
+
+ imgFace.sprite = null;
+ imgFace.overrideSprite = null;
+
spine.effectId = int.Parse(resourceValue);
spine.isPlaySpineLoop = true;
spine.Play();
@@ -255,7 +257,9 @@
imgFace.enabled = true;
spine.enabled = false;
uiFrame.enabled = true;
+
imgFace.sprite = null;
+ imgFace.overrideSprite = null;
if (!UIFrameMgr.Inst.ContainsDynamicImage(resourceValue))
break;
--
Gitblit v1.8.0