- Home /
How to disable all input binds for typing
Hello, I need to make console so I want to disable all other key binds from other scripts when I'm typing. Is there anyway to do it without disabling every scrips that has input bind? // For example I'm disabling first person controller script so player will not move around when using console but I can't for example disable Inventory script because I need it using console.
Comment
Answer by KalleRosendahl · Apr 11, 2019 at 10:07 PM
I would create a bool for when the console is opened.. and then in the scripts that use input, you just check if the bool is false, then continue
Yeah, thats what I did for testing but I was wondering if there is some more efficient way but that's probably what is left. Thanks!