Disabling only part of the game input

yyycct

New member
Hello,

I am currently using the new unity input system, and we want to add in a input action where clicking on tab will enable and disable the main menu and disable any camera control and character movement. I tried triggering the Event "OnEnableGameplayInput", but that will disable the tab input as well. Is there any other method you would suggest to disable both camera control and character movement? Thanks.
 
OnEnableGameplayInput will just disable gameplay input. I'm assuming the tab is part of the UI? The character controller doesn't include any UI so it shouldn't respond to OnEnableGameplayInput.
 
Top