尝试修复Loading页面跳步不消失问题

This commit is contained in:
shenjianxing 2025-02-05 14:56:37 +08:00
parent d425a98349
commit 7ba69600f6

View File

@ -193,12 +193,12 @@ public class OperationController : MonoSingleton<OperationController>
public void RunCurAction(IAction curAction, int targetIndex) public void RunCurAction(IAction curAction, int targetIndex)
{ {
TypeEventSystem.Global.Send<OnLoadingHide>();
if (curAction != null) if (curAction != null)
{ {
this.index = targetIndex; this.index = targetIndex;
isStepRun = true; isStepRun = true;
TypeEventSystem.Global.Send(new StepStatusOnChange() { curIndex = targetIndex, status = StepStatus.Start }); TypeEventSystem.Global.Send(new StepStatusOnChange() { curIndex = targetIndex, status = StepStatus.Start });
TypeEventSystem.Global.Send<OnLoadingHide>();
curAction.Start(this, () => curAction.Start(this, () =>
{ {
isStepRun = false; isStepRun = false;