| | |
| | | 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);
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | 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)
|