| | |
| | | if (inDungeon)
|
| | | {
|
| | | m_FunctionForecastTip.gameObject.SetActive(false);
|
| | | if (WindowCenter.Instance.CheckOpen<FunctionForecastWin>())
|
| | | if (WindowCenter.Instance.IsOpen<FunctionForecastWin>())
|
| | | {
|
| | | WindowCenter.Instance.Close<FunctionForecastWin>();
|
| | | }
|
| | |
| | | PlayerTaskDatas.CompletionOfTaskEvent -= CompletionOfTaskEvent;
|
| | | RedpointCenter.Instance.redpointValueChangeEvent -= RedpointValueChangeEvent;
|
| | | NewBieCenter.Instance.guideBeginEvent -= GuideBeginEvent;
|
| | | if (WindowCenter.Instance.CheckOpen<FunctionForecastWin>())
|
| | | if (WindowCenter.Instance.IsOpen<FunctionForecastWin>())
|
| | | {
|
| | | WindowCenter.Instance.CloseImmediately<FunctionForecastWin>();
|
| | | }
|
| | |
| | | && PlayerDatas.Instance.hero.State == E_ActorState.AutoRun
|
| | | && onMainModel.MoveBool)
|
| | | {
|
| | | if (!WindowCenter.Instance.CheckOpen("PathfindingIconWin"))
|
| | | if (!WindowCenter.Instance.IsOpen("PathfindingIconWin"))
|
| | | {
|
| | | WindowCenter.Instance.Open<PathfindingIconWin>(true);
|
| | | }
|
| | |
| | | else
|
| | | {
|
| | | onMainModel.MoveBool = false;
|
| | | if (WindowCenter.Instance.CheckOpen("PathfindingIconWin"))
|
| | | if (WindowCenter.Instance.IsOpen("PathfindingIconWin"))
|
| | | {
|
| | | WindowCenter.Instance.CloseImmediately<PathfindingIconWin>();
|
| | | }
|
| | |
| | |
|
| | | if (runeTowerModel.newPassFloor > 0 && !IsDungeon())
|
| | | {
|
| | | if (!WindowCenter.Instance.CheckOpen("NewBieWin") && !WindowCenter.Instance.CheckOpen("TreasureNewGotWin"))
|
| | | if (!WindowCenter.Instance.IsOpen("NewBieWin") && !WindowCenter.Instance.IsOpen("TreasureNewGotWin"))
|
| | | {
|
| | | if (!WindowCenter.Instance.CheckOpen("RuneNewGotWin"))
|
| | | if (!WindowCenter.Instance.IsOpen("RuneNewGotWin"))
|
| | | {
|
| | | WindowCenter.Instance.Open<RuneNewGotWin>();
|
| | | }
|
| | |
| | | }
|
| | | LeftImage.SetActive(false);
|
| | | RightImg.SetActive(true);
|
| | | if (WindowCenter.Instance.CheckOpen<FunctionForecastWin>())
|
| | | if (WindowCenter.Instance.IsOpen<FunctionForecastWin>())
|
| | | {
|
| | | WindowCenter.Instance.Close<FunctionForecastWin>();
|
| | | }
|
| | |
| | |
|
| | | void CheckChatTipOpen()
|
| | | {
|
| | | bool _chatWinOpen = WindowCenter.Instance.CheckOpen<ChatWin>();
|
| | | bool _chatWinOpen = WindowCenter.Instance.IsOpen<ChatWin>();
|
| | | m_ChatTip.gameObject.SetActive(!_chatWinOpen);
|
| | | if (!_chatWinOpen)
|
| | | {
|