You have a enum that tell how the Player controller input should be managed.
It can be Game Only, UI Only and Game & UI.

You have...