public void BallSpeedDownRemove(PowerUpHandler controller) { PaddleController.MultiplyBallSpeed(1.6f); foreach (GameObject ball in PaddleController.ballList) { ball.GetComponent <BallController>().MultiplySpeed(1.6f); } }
public void BallSpeedUpRemove(PowerUpHandler controller) { PaddleController.MultiplyBallSpeed(0.625f); foreach (GameObject ball in PaddleController.ballList) { ball.GetComponent <BallController>().MultiplySpeed(0.625f); // 1/1.6 = 0.625 } }