Equip your baby bird

Let's teach Unity what to do when we're not around, and the player wants to move the paddle to bounce the ball. Make sure that the Mesh Renderer component of your Ball is enabled (checked). We're going to create a brand new Script and attach it to the paddle.

Get Unity 4.x Game Development by Example Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.