Unity - Input
Introduction
Unity has 2 different ways of handling user input:
Input Manager (Old)
Input System (New)
Various ways:
Reusable Modules
Have a InputModule, with its own state, other systems will listen for those events
Example:
MouseState
Feature Specific:
HoveredCharacter
Selected Enemy
Raycast -> Sets Selected Enemy
References
New Input System
https://docs.unity3d.com/Packages/com.unity.inputsystem@1.0/manual/Installation.html#enabling-the-new-input-backends
https://forum.unity.com/threads/how-to-remove-uninstall-new-input-system.978195/