After I called SetInputMode with FInputModeUIOnly parameter to playercontroller, then it seems that there is no way to bind key events to work. FInputModeUIOnly will cause all key and mouse events to ignored.
Unity has InputManager, could bind global Input Events. I can not find anything similar.
I can use FInputModeGameAndUI will let the InputComponet to work.
But I don’t want the Character to Move when the UI PopUp.
But when I SetInputMode to FInputModeUIOnly then I can not find a way to handle Keyboard Events, so I can not bind key shortcut to close the UI and return to Normal Game Control.