Page 1 of 1

Prevent Keypress from reaching Unity

Posted: 05 Mar 2018, 17:32
by antsonthetree
Hello,

I have a noesis view running and in OnPreviewKeyDown I am setting e.Handled = true.
I would expect this to prevent the Input.GetKeyDown() from firing in my Update function in a monobehavior.
However it still gets triggered. Is there a way that I can prevent any keypresses from reaching unity?
I would like them to all be handled in my noesis view.

Thanks
Jake