void Update() { if (ballBehavior.IsToRestart) { ballBehavior.IsToRestart = false; ballBehavior.RestartSpeed(); ball.transform.position = spawners[0].transform.position; LaunchBallByScorer(ballBehavior.PlayerScorer); } }