| | |
| | |
|
| | | [XLua.LuaCallCSharp]
|
| | | public class TipPanel : Singleton<TipPanel>
|
| | | |
| | |
|
| | | {
|
| | | PlayerMainDate m_MainModel;
|
| | | PlayerMainDate mainModel { get { return m_MainModel ?? (m_MainModel = ModelCenter.Instance.GetModel<PlayerMainDate>()); } }
|
| | |
| | | {
|
| | | WindowCenter.Instance.windowAfterOpenEvent += windowBeforeOpen;
|
| | | NewBieCenter.Instance.guideCompletedEvent += guideCompleted;
|
| | | StageManager.Instance.onStageLoadFinish += OnStageLoadFinish;
|
| | | StageLoad.Instance.onStageLoadFinish += OnStageLoadFinish;
|
| | | TreasureNewGotWin.CloseTreasureNewGotWinEvent += CloseTreasureNewGotWinEvent;
|
| | | }
|
| | |
|
| | |
| | | {
|
| | | 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();
|
| | |
| | | {
|
| | | 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();
|
| | | }
|