I don’t have much experience with the new input system, but it looks like there’s no intuitive way to mimic the functionality of Input.GetKeyDown()
. This is an issue, because using Input.GetKey()
doesn’t work well with triggers; the 5-10 frames that you hold the button down causes the trigger to stay true.
If you really want to use triggers, take a look at this thread on how to detect a keypress for a single frame: How to implement " if(Input.GetKeyDown(KeyCode.A))" in new input system?