The Unity New Input System is a modern way to handle player input from devices like keyboard, mouse, gamepads, and touchscreens. It replaces the old input system with more flexibility and better device support.
Click to reveal answer
beginner
How does the New Input System improve device support?
It supports many devices automatically, including gamepads, joysticks, touchscreens, and keyboards, and can detect new devices at runtime without extra coding.
Click to reveal answer
beginner
What is an Input Action in the New Input System?
An Input Action is a named input event like 'Jump' or 'Move'. It groups input controls and lets you respond to player actions in a clear way.
Click to reveal answer
intermediate
What is an Input Action Map?
An Input Action Map is a collection of Input Actions grouped by context, like 'Gameplay' or 'UI'. It helps organize inputs and switch between control schemes easily.
Click to reveal answer
intermediate
How do you listen for input events using the New Input System?
You create Input Actions and subscribe to their events in code. When the player performs an action, your code runs automatically to respond.
Click to reveal answer
What does the Unity New Input System replace?
AThe Physics Engine
BThe Rendering Pipeline
CThe old Input Manager
DThe Audio System
✗ Incorrect
The New Input System replaces the old Input Manager to provide better input handling.
Which of these is NOT a feature of the New Input System?
ARequires manual device detection
BAllows runtime device detection
CUses Input Actions to organize inputs
DSupports multiple devices automatically
✗ Incorrect
The New Input System automatically detects devices; manual detection is not required.
What is an Input Action Map used for?
ARendering graphics
BGrouping Input Actions by context
CPlaying sounds
DSaving game data
✗ Incorrect
Input Action Maps group Input Actions by context like gameplay or UI.
How do you respond to player input using the New Input System?
ASubscribe to Input Action events
BUse Update() to check keys manually
CModify physics settings
DChange camera settings
✗ Incorrect
You subscribe to Input Action events to respond when the player performs actions.
Which device is supported by the New Input System?
AScanners
BPrinters
CProjectors
DGamepads
✗ Incorrect
Gamepads are supported devices for player input in the New Input System.
Explain the main benefits of using the Unity New Input System over the old Input Manager.
Think about flexibility and ease of use.
You got /4 concepts.
Describe how Input Actions and Input Action Maps work together in the New Input System.
Consider how inputs are grouped and managed.
You got /4 concepts.
Practice
(1/5)
1. What is the main purpose of the New Input System in Unity?
easy
A. To create 3D models for games
B. To handle multiple input devices easily and flexibly
C. To manage game physics and collisions
D. To optimize game graphics performance
Solution
Step 1: Understand the role of input systems
The New Input System is designed to manage inputs from devices like keyboard, mouse, gamepads, etc.
Step 2: Compare with other options
Options B, C, and D relate to graphics, physics, or modeling, not input handling.
Final Answer:
To handle multiple input devices easily and flexibly -> Option B
Quick Check:
New Input System = device input management [OK]
Hint: Focus on input device management purpose [OK]
Common Mistakes:
Confusing input system with graphics or physics
Thinking it only handles keyboard input
Assuming it creates game assets
2. Which of the following is the correct way to enable an input action in the New Input System?
easy
A. inputAction.Run();
B. inputAction.Start();
C. inputAction.Activate();
D. inputAction.Enable();
Solution
Step 1: Recall method names in New Input System
The method to activate an input action is called Enable(), not Start(), Activate(), or Run().
Step 2: Confirm syntax correctness
inputAction.Enable(); is the correct syntax to enable the action.