void GameOver(float x) { if (x < -2.0) { GameOverScreen.setup(ScoreScript.scoreVal); clouds.cloudsGameOver(); playfabManager.SendLeaderboard(ScoreScript.scoreVal); playfabManager.GetLeaderboard(); isGameOver = true; } }