Why My Enhanced Input doesn't work

I’m trying to use Enhanced Input. I created a “Jump” Input Action and a “My_Input” Mapping Context. And then I successfully add it to player controller but when I press “space” there seems to be no response?



Did you enable input?

Nope. But I found the reason. It seems that the playercontroller’s input mode doesn’t include “Game”. I add it when the game start. And it works.


inputMode

1 Like