From 5e80431b0e160ee29b6040761b71bcc321a9e1bb Mon Sep 17 00:00:00 2001 From: bottlefish <781230111@qq.com> Date: Fri, 18 Oct 2024 22:01:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E4=BA=9B=E8=BE=B9=E7=95=8C=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Scripts/FixSystem/Scope/OscilloscopeController.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Assets/Scripts/FixSystem/Scope/OscilloscopeController.cs b/Assets/Scripts/FixSystem/Scope/OscilloscopeController.cs index 3d5e880b1..7209c535e 100644 --- a/Assets/Scripts/FixSystem/Scope/OscilloscopeController.cs +++ b/Assets/Scripts/FixSystem/Scope/OscilloscopeController.cs @@ -64,6 +64,8 @@ public class OscilloscopeController : MonoBehaviour private IEnumerator ScanForError(string trimmedString) { + phaseSlider.interactable=false; + plug.Disable_plugInput(); scanLine.gameObject.SetActive(true); // 设置扫描线初始位置(左侧) @@ -110,7 +112,13 @@ private IEnumerator ScanForError(string trimmedString) screenText.text="找到错误,可以开始深入"; yield return new WaitForSeconds(1f); transitionManager.SetViewAvailability(trimmedString, true); + DeepInButton.interactable=false; StartCoroutine(transitionManager.StartTransitionCoroutine(trimmedString)); + yield return new WaitForSeconds(0.5f); + DeepInButton.interactable=true; + phaseSlider.interactable=true; + screenText.text=""; + plug.Enable_plugInput(); break; } @@ -130,6 +138,9 @@ private IEnumerator ScanForError(string trimmedString) scanLine.gameObject.SetActive(false); scanLine.startColor = Color.white; scanLine.endColor = Color.white; + phaseSlider.interactable=true; + plug.Enable_plugInput(); + screenText.text=""; }