From 5a2a4b4348ad8a1fecfbb1d034ea5e13484f3d55 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期四, 21 二月 2019 17:40:10 +0800
Subject: [PATCH] 3335 代码修改
---
System/MainInterfacePanel/MainInterfaceWin.cs | 36 +++++++++++++++++++-----------------
1 files changed, 19 insertions(+), 17 deletions(-)
diff --git a/System/MainInterfacePanel/MainInterfaceWin.cs b/System/MainInterfacePanel/MainInterfaceWin.cs
index b346017..83a3f5e 100644
--- a/System/MainInterfacePanel/MainInterfaceWin.cs
+++ b/System/MainInterfacePanel/MainInterfaceWin.cs
@@ -265,6 +265,24 @@
fairyGrabBossModel.bossGrabHintEvent -= bossGrabHintEvent;
}
+ protected override void LateUpdate()
+ {
+ base.LateUpdate();
+ var judge1 = PlayerDatas.Instance.hero != null
+ && PlayerDatas.Instance.hero.State == E_ActorState.AutoRun
+ && onMainModel.MoveBool;
+ var judge2 = WindowCenter.Instance.IsOpen<PathfindingIconWin>();
+ if (judge1 && !judge2)
+ {
+ WindowCenter.Instance.Open<PathfindingIconWin>(true);
+ }
+ if (!judge1 && judge2)
+ {
+ onMainModel.MoveBool = false;
+ WindowCenter.Instance.Close<PathfindingIconWin>();
+ }
+ }
+
private void CompletionOfTaskEvent(int obj)
{
EffectMgr.Instance.PlayUIEffect(1100, 1100, m_EffectTask, false);
@@ -417,23 +435,7 @@
}
}
- protected override void LateUpdate()
- {
- base.LateUpdate();
- var judge1 = PlayerDatas.Instance.hero != null
- && PlayerDatas.Instance.hero.State == E_ActorState.AutoRun
- && onMainModel.MoveBool;
- var judge2 = WindowCenter.Instance.IsOpen<PathfindingIconWin>();
- if (judge1 && !judge2)
- {
- WindowCenter.Instance.Open<PathfindingIconWin>(true);
- }
- if (!judge1 && judge2)
- {
- onMainModel.MoveBool = false;
- WindowCenter.Instance.Close<PathfindingIconWin>();
- }
- }
+
public void MarkRayButton()
{
if (NewBieCenter.Instance.inGuiding)
--
Gitblit v1.8.0