0
0
Unityframework~5 mins

Input action maps in Unity - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is an Input Action Map in Unity's Input System?
An Input Action Map is a collection of input actions grouped together, usually representing a set of controls for a specific gameplay context, like player movement or UI navigation.
Click to reveal answer
beginner
How do you create an Input Action Map in Unity's Input System?
You create an Input Action Map by opening the Input Actions asset, then adding a new Action Map and defining actions inside it with their bindings.
Click to reveal answer
intermediate
What is the purpose of enabling and disabling Input Action Maps?
Enabling an Input Action Map activates its input actions so they respond to player input. Disabling stops them from responding, useful to switch control contexts.
Click to reveal answer
intermediate
How can you listen for input events from an Input Action Map in code?
You can subscribe to the performed, started, or canceled events of actions inside the Input Action Map to run code when input happens.
Click to reveal answer
intermediate
What is the benefit of using multiple Input Action Maps in a game?
Using multiple Input Action Maps lets you organize controls by game state or mode, like separate maps for gameplay, menus, or cutscenes, making input management cleaner.
Click to reveal answer
What does enabling an Input Action Map do?
AActivates its input actions to respond to input
BDeletes the input actions
CSaves the input actions to disk
DDisables all other input maps
Where do you define Input Action Maps in Unity?
AIn the Player Settings
BIn the Input Actions asset
CIn the Scene Hierarchy
DIn the Physics Settings
Which event would you use to detect when a button is pressed?
Aperformed
Bstarted
Ccanceled
Dcompleted
Why use multiple Input Action Maps?
ATo increase game performance
BTo reduce file size
CTo organize controls by game context
DTo disable input completely
What happens if you disable an Input Action Map?
AIt resets input bindings
BIt deletes all actions
CIt duplicates the map
DIts actions stop responding to input
Explain what an Input Action Map is and why it is useful in Unity's Input System.
Think about how you organize controls for different parts of a game.
You got /4 concepts.
    Describe how you would switch between different Input Action Maps during gameplay.
    Consider what happens when a player opens a menu or enters a cutscene.
    You got /4 concepts.