From c90cdd78c2bf8bcfa25cec7432a5876f6085ecfb Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期五, 01 二月 2019 11:18:37 +0800
Subject: [PATCH] 3335 切换地图逻辑重构。

---
 System/MainInterfacePanel/TipPanel.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/System/MainInterfacePanel/TipPanel.cs b/System/MainInterfacePanel/TipPanel.cs
index 70a13e4..9ccc81f 100644
--- a/System/MainInterfacePanel/TipPanel.cs
+++ b/System/MainInterfacePanel/TipPanel.cs
@@ -14,7 +14,7 @@
 
     [XLua.LuaCallCSharp]
 public class TipPanel : Singleton<TipPanel>
-
+
     {
         PlayerMainDate m_MainModel;
         PlayerMainDate mainModel { get { return m_MainModel ?? (m_MainModel = ModelCenter.Instance.GetModel<PlayerMainDate>()); } }
@@ -31,7 +31,7 @@
         {
             WindowCenter.Instance.windowAfterOpenEvent += windowBeforeOpen;
             NewBieCenter.Instance.guideCompletedEvent += guideCompleted;
-            StageManager.Instance.onStageLoadFinish += OnStageLoadFinish;
+            StageLoad.Instance.onStageLoadFinish += OnStageLoadFinish;
             TreasureNewGotWin.CloseTreasureNewGotWinEvent += CloseTreasureNewGotWinEvent;
         }
 
@@ -62,7 +62,7 @@
         {
             yield return null;
             if (WindowCenter.Instance.IsOpen<MainInterfaceWin>() && !NewBieCenter.Instance.inGuiding
-                && !WindowCenter.Instance.ExitAnyFullScreenOrMaskWin() && !StageManager.Instance.isLoading
+                && !WindowCenter.Instance.ExitAnyFullScreenOrMaskWin() && !StageLoad.Instance.isLoading
                 && !treasureModel.newGotShowing)
             {
                 IsOPenTip();
@@ -73,8 +73,8 @@
         {
             yield return WaitingForSecondConst.WaitMS500;
             if (WindowCenter.Instance.IsOpen<MainInterfaceWin>() && !NewBieCenter.Instance.inGuiding
-                && !WindowCenter.Instance.ExitAnyFullScreenOrMaskWin() && !StageManager.Instance.isLoading
-                && StageManager.Instance.CurrentStage is DungeonStage && !treasureModel.newGotShowing)
+                && !WindowCenter.Instance.ExitAnyFullScreenOrMaskWin() && !StageLoad.Instance.isLoading
+                && StageLoad.Instance.currentStage is DungeonStage && !treasureModel.newGotShowing)
             {
                 IsOPenTip();
             }

--
Gitblit v1.8.0