// 로비 나가기 private void QuitLobby() { if (debug) { Application.Quit(); return; } _tcpManager.SendShutdown(); _tcpManager.DeletePacketInterpret(); SceneManager.LoadScene("Start"); }
private void QuitRoom() { if (nonNetwork) { Application.Quit(); return; } // 로비로 전환 요청 var message = Network.CPacketFactory.CreateReturnLobbyPacket(); _tcpManager.Send(message.data); _tcpManager.DeletePacketInterpret(); SceneManager.LoadScene("Lobby"); }
private void InterpretLobbySuccess(Network.CPacket packet) { _tcpManager.DeletePacketInterpret(); SceneManager.LoadScene("Lobby"); }