Input Modules
Input Modules describe how the Event System will handle the inputs to the game via the mouse, keyboard, touchscreen, gamepad, and so on. You can think of them as the bridge between the hardware and events.
There are three input modules provided by Unity:
- Standalone Input Module
- Base Input Module
- Pointer Input Module
To utilize these input modules, you attach them as components to your EventSystem
GameObject.
You are not restricted to using these three input modules and can create your own, so if you have an input device that is not covered by one of those three, you’d create your own input module script and then attach it to the Event System.
There is another input module called Touch Input Module, which used to be necessary for touchscreen inputs. However, this module has been deprecated and its functionality is now lumped into the Standalone Input Module. Since this input module has been deprecated, it will not be discussed in...