Input System (New) -- Correctness Patterns
Prerequisite skills: unity-input (Input System API, actions, bindings, PlayerInput component)
These patterns target the most common Input System bugs: wrong reading method for the action type, mixing old/new APIs, losing rebindings, and mishandling multiplayer device assignment.
PATTERN: Reading Input -- triggered vs IsPressed vs WasPressedThisFrame
WHEN: Reading button/action state at runtime
WRONG (Claude default):
//
[Description truncada. Veja o README completo no GitHub.]