private void UpdateScore(string playerName, ref int playerScore, ref TextMeshProUGUI playerScoreText, int ballSide)
 {
     playerScore++;
     playerScoreText.text = playerScore.ToString();
     if (playerScore == 10)
     {
         playerScoreText.color = gamePointColor;
     }
     Debug.Log($"{playerName} scored. The score is now {player1Score}-{player2Score}");
     if (playerScore >= 11)  // Game Over
     {
         Debug.Log($"Game Over, {playerName} Wins");
         gameOverUI.SetActive(true);
         winText.text          = $"{playerName} Wins!";
         playerScoreText.color = winColor;
         ballControl.PauseBall();
         PowerUpManager.StopSpawningPowerups();
         PowerUpManager.DestroyAllPowerups();
     }
     else
     {
         ballControl.LaunchBall(ballSide);
     }
 }