fix: 修复 FixStateMachine、ShockSystem 和 PhysicCable

Made-with: Cursor
This commit is contained in:
2026-03-03 21:45:54 +08:00
parent 8458810be6
commit e20beb8207
3 changed files with 49 additions and 20 deletions
@@ -1,4 +1,4 @@
using UnityEngine;
using UnityEngine;
using UnityEngine.UI;
using DG.Tweening;
using TMPro;
@@ -383,8 +383,7 @@ public class ShockSystem : MonoBehaviour
yield return new WaitForSeconds(shockFlashDelay);
// 获取ECG波形组件
var screenSystem = FixSystemCenter.SystemDic.Get<ScreenSystem>();
var lightSystem = screenSystem?.FixLightSystem;
var lightSystem = FixPanelSystem.GetRepairPanel<CablePanel>()?.FixLightSystem;
var originalWaveType = lightSystem?.GetCurrentWaveType();
flashSequence = DOTween.Sequence();