- antsonthetree
- Posts: 44
- Joined:
Prevent Keypress from reaching Unity
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
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
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 0 guests