public void EndGame() { GameState.currentState = GameStates.GAME_COMPLETED; serverNetworkManager.EndGame(GameState); Invoke("RestartGame", 5f); }