少年修仙传客户端代码仓库
client_Zxw
2019-02-21 5a2a4b4348ad8a1fecfbb1d034ea5e13484f3d55
3335 代码修改
1个文件已修改
36 ■■■■ 已修改文件
System/MainInterfacePanel/MainInterfaceWin.cs 36 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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)