少年修仙传客户端代码仓库
client_Wu Xijin
2019-02-01 c90cdd78c2bf8bcfa25cec7432a5876f6085ecfb
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();
            }