Skip to content

Commit

Permalink
ball speed 🔥
Browse files Browse the repository at this point in the history
  • Loading branch information
danishsshaikh committed Mar 20, 2020
1 parent 1431f96 commit 7a3e2ec
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Assets/Scripts/Ball.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ void Update()
LockBallToPadlle();
LounchBallOnMouseClick();
}
else
{
//made the speed of the game slower
//Speed of the ball is maintained
Time.timeScale = 0.73f;

}

}

Expand Down

0 comments on commit 7a3e2ec

Please sign in to comment.