| | |
| | | recordPositionBool = true;
|
| | | TaskSwithBool = true;
|
| | | m_MainPositionTween.SetTaskPos(true);
|
| | | m_MainPositionTween.SetFunctionForecastPos(true);
|
| | | m_MailObj.SetActive(true);
|
| | | ListBossMapId.Clear();
|
| | | string strBoss = FuncConfigConfig.Get("TaskRetract").Numerical1;
|
| | |
| | | m_TeamInvitationEntrance.UnInit();
|
| | | m_FairyCallBehaviour.UnInit();
|
| | | m_FairyLeagueRemind.UnInit();
|
| | | m_MainButtonMisc.Unit();
|
| | | m_MainButtonMisc.UnInit();
|
| | |
|
| | | PlayerDatas.Instance.playerDataRefreshEvent -= Updatefighting;
|
| | | FunctionUnlockFlyObject.functionUnLockShowBeginEvent -= UnFlodFunctionArea;
|
| | |
| | |
|
| | | void TaskSwithButton()
|
| | | {
|
| | | var inDungeon = IsDungeon(); |
| | | if (TaskSwithBool)//隐藏
|
| | | {
|
| | | m_MainPositionTween.SetTaskPosTween(false);
|
| | | if (!inDungeon)
|
| | | {
|
| | | m_MainPositionTween.SetFunctionForecastPosTween(false);
|
| | | }
|
| | | }
|
| | | else//显示
|
| | | {
|
| | | m_MainPositionTween.SetTaskPosTween(true);
|
| | | if (!inDungeon)
|
| | | {
|
| | | m_MainPositionTween.SetFunctionForecastPosTween(true);
|
| | | }
|
| | | }
|
| | |
|
| | | if (onMainModel.IsBossAreaTask)
|
| | | {
|
| | | onMainModel.IsBossAreaTask = false;
|
| | | }
|
| | |
|
| | | TaskSwithBool = !TaskSwithBool;
|
| | | }
|
| | |
|
| | |
| | | {
|
| | | bool _chatWinOpen = WindowCenter.Instance.IsOpen<ChatWin>();
|
| | | m_ChatTip.gameObject.SetActive(!_chatWinOpen);
|
| | | if (!_chatWinOpen)
|
| | | {
|
| | | m_ChatTip.CheckRealmSfx();
|
| | | }
|
| | | }
|
| | |
|
| | | private void WindowAfterEvent(Window _win)
|
| | |
| | | }
|
| | | if (Event_Duplicates != null && inDungeon)
|
| | | {
|
| | | Event_Duplicates(true, m_MainPositionTween.CopyOfThePanelSpeed);
|
| | | Event_Duplicates(true, m_MainPositionTween.rightTopSwitchTime);
|
| | | }
|
| | | onMainModel.MainTopPanelShow = true;
|
| | | if (_isTween)
|
| | |
| | | }
|
| | | if (Event_Duplicates != null && inDungeon)
|
| | | {
|
| | | Event_Duplicates(false, m_MainPositionTween.CopyOfThePanelSpeed);
|
| | | Event_Duplicates(false, m_MainPositionTween.rightTopSwitchTime);
|
| | | }
|
| | | onMainModel.MainTopPanelShow = false;
|
| | | if (_isTween)
|