From 3ce47ce4e7a13212a1efb32d0625222a8b18655d Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期四, 23 十月 2025 18:56:44 +0800
Subject: [PATCH] 125 战斗 修复暂停导致的技能时间错误问题 修复因为设置多个 TimeScale导致的速度翻倍问题
---
Main/Component/UI/Effect/BattleEffectPlayer.cs | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/Main/Component/UI/Effect/BattleEffectPlayer.cs b/Main/Component/UI/Effect/BattleEffectPlayer.cs
index 3e3c0d2..8dbbc57 100644
--- a/Main/Component/UI/Effect/BattleEffectPlayer.cs
+++ b/Main/Component/UI/Effect/BattleEffectPlayer.cs
@@ -377,7 +377,6 @@
spineComp.enabled = true;
spineComp.timeScale = speedRate;
- spineAnimationState.TimeScale = speedRate;
Spine.Animation animation = spineAnimationState.Data.SkeletonData.Animations.First();
spineAnimationState.SetAnimation(0, animation, effectConfig.isLoop != 0);
@@ -561,11 +560,6 @@
spineComp.timeScale = 0f;
}
- if (spineAnimationState != null)
- {
- spineAnimationState.TimeScale = 0f;
- }
-
// Animator鍔ㄧ敾
foreach (var animator in animatorList)
{
@@ -586,11 +580,6 @@
if (spineComp != null)
{
spineComp.timeScale = speedRate;
- }
-
- if (spineAnimationState != null)
- {
- spineAnimationState.TimeScale = speedRate;
}
// Animator鍔ㄧ敾
--
Gitblit v1.8.0