How do you disable all controls?
I created a death instance where text appears and it says 'you have died' and you can press a button to respawn, all I need now to do now is disable every keyboard command so that the only button that can be pressed is the Respawn one, is there a command that would enable me to do this? (I'm using javascript)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612121502im_/https://answers.unity.com/themes/thub/images/avi.jpg)