From 5cfb83ed70a40b0c8bfd65b78e50380059a602e1 Mon Sep 17 00:00:00 2001 From: Cg-Fly <1499046294@qq.com> Date: Wed, 12 Feb 2025 09:19:44 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E5=87=BB=E4=BA=86=E5=BD=93=E5=89=8D?= =?UTF-8?q?=E6=AD=A5=E9=AA=A4=E4=BA=A4=E4=BA=92=E5=86=85=E5=AE=B9=EF=BC=8C?= =?UTF-8?q?=E5=88=99=E4=B8=8A=E6=96=B9=E6=8F=90=E7=A4=BA=E6=A1=86=E6=B6=88?= =?UTF-8?q?=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/_Scripts/Application/SceneCtrls/NiuSceneMng.cs | 3 +++ Assets/_Scripts/Application/UI/OperationStepPanel.cs | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Assets/_Scripts/Application/SceneCtrls/NiuSceneMng.cs b/Assets/_Scripts/Application/SceneCtrls/NiuSceneMng.cs index baec8de..4b2f66d 100644 --- a/Assets/_Scripts/Application/SceneCtrls/NiuSceneMng.cs +++ b/Assets/_Scripts/Application/SceneCtrls/NiuSceneMng.cs @@ -164,10 +164,12 @@ if(UnityEngine.EventSystems.EventSystem.current.IsPointerOverGameObject())return } ClickToolCallInTrainState(rayHit.transform.gameObject, () => { + UI_Manage.Instance.HidePanel("ShowToastUIPrefab"); JumpTimeline(GameManager.Instance._DataNiuHandler.GetNextStep(), false); }); ClickToolCallInExamState(rayHit.transform.gameObject, () => { + UI_Manage.Instance.HidePanel("ShowToastUIPrefab"); JumpTimeline(GameManager.Instance._DataNiuHandler.GetNextStep(_CurSceneStep.QNextNum), false); }); } @@ -181,6 +183,7 @@ if(UnityEngine.EventSystems.EventSystem.current.IsPointerOverGameObject())return GameObject videoGeo = UI_Manage.Instance.ShowPanel("VideoShowPanel", Type.GetType("ZXK.LouDiXvMuNiu.VideoShowPanel"), UIGroup.Tip); videoGeo.GetComponent().PlayVideoClip(_CurSceneStep.VideoPath, () => { + UI_Manage.Instance.HidePanel("ShowToastUIPrefab"); GameManager.Instance._DataNiuHandler.CurNiuHandler.Value = GameManager.Instance._DataNiuHandler.GetNextStep(); }); }); diff --git a/Assets/_Scripts/Application/UI/OperationStepPanel.cs b/Assets/_Scripts/Application/UI/OperationStepPanel.cs index 45e6d7f..a60814a 100644 --- a/Assets/_Scripts/Application/UI/OperationStepPanel.cs +++ b/Assets/_Scripts/Application/UI/OperationStepPanel.cs @@ -399,6 +399,7 @@ namespace ZXK.LouDiXvMuNiu { PopUpMng.ThreeVideoChoicePanel(obj.Question, answers, answers, NiuSceneMng._Instance.GetOptionIndex(obj.OptionRight), isExam, () => { + UI_Manage.Instance.HidePanel("ShowToastUIPrefab"); GameManager.Instance._DataNiuHandler.CurNiuHandler.Value = GameManager.Instance._DataNiuHandler.GetNextStep(); }); } @@ -423,6 +424,7 @@ namespace ZXK.LouDiXvMuNiu GameObject videoGeo = UI_Manage.Instance.ShowPanel("VideoShowPanel", Type.GetType("ZXK.LouDiXvMuNiu.VideoShowPanel"), UIGroup.Tip); videoGeo.GetComponent().PlayVideoClip(obj.VideoPath, () => { + UI_Manage.Instance.HidePanel("ShowToastUIPrefab"); GameManager.Instance._DataNiuHandler.CurNiuHandler.Value = GameManager.Instance._DataNiuHandler.GetNextStep(obj.QNextNum); }); } @@ -432,6 +434,7 @@ namespace ZXK.LouDiXvMuNiu GameObject videoGeo = UI_Manage.Instance.ShowPanel("VideoShowNoCtrlPanel", Type.GetType("ZXK.LouDiXvMuNiu.VideoShowPanel"), UIGroup.Tip); videoGeo.GetComponent().PlayVideoClip(obj.VideoPath, () => { + UI_Manage.Instance.HidePanel("ShowToastUIPrefab"); GameManager.Instance._DataNiuHandler.CurNiuHandler.Value = GameManager.Instance._DataNiuHandler.GetNextStep(); }); }