Set Up the Input System

Your left paddle drifts up the screen on its own, and you can set its speed from the Inspector. What it cannot do is listen to you. Before a script can read a key, Unity needs the Input System package in the project. It also needs one setting pointed at that package, and this node checks both before any input code exists.

Topics in Set Up the Input System

  1. Read the Keyboard
    1. Ask a Question With if
  2. Move a Paddle
    1. Keep the Paddle On Screen
  3. Add the Second Paddle

All 54 topics in the Your First Unity Game