protected override void OnEnter() { base.OnEnter(); PvpMatchMgr.Instance.QuitMatch(false); if (!NetWorkHelper.Instance.GateReconnection.Available) { NetWorkHelper.Instance.GateReconnection.Begin(); } NetWorkHelper.Instance.DisconnectLobbyServer(); NetWorkHelper.Instance.DisconnectPvpServer(); ArenaModeView.ShowMatchingState(false); CtrlManager.CloseWindow(WindowID.PvpSelectHeroView); CtrlManager.CloseWindow(WindowID.PvpWaitView); PvpUtils.GoHome(); Singleton <PvpManager> .Instance.IsContinuedBattle = false; Singleton <MenuView> .Instance.UpdateFreeActive(); }
protected override void OnEnter() { base.OnEnter(); ArenaModeView.ShowMatchingState(true); CtrlManager.CloseWindow(WindowID.PvpSelectHeroView); }