private void SendLeaderBoard() { if (game.gameMode == "Classic") { LeaderBoardManager.AddPlayerClassicToLeaderBoard(game.playerName, game.deviceId, int.Parse(game.mMRPlayer), int.Parse(game.timeTest)); } else if (game.gameMode == "Arcade") { LeaderBoardManager.AddPlayerArcadeToLeaderBoard(game.playerName, game.deviceId, int.Parse(game.mMRPlayer), int.Parse(game.timeTest)); } }