- Home /
Is there a way to make a pc build that will not lose focus when selecting another app ?
I have a pc build that runs on one monitor and another app that runs on the other monitor (both Unity PC builds). When I switch to second app, the 1st app loses focus so all the Input.GetKey is not detected anymore.
Is there a way to keep all apps focused at the same time and get all events from all apps indifferent of which one is focused ?
Comment
Best Answer
Answer by paulsz · Dec 17, 2019 at 03:34 PM
I actually found a solution to my problem because what I actually needed was to get the input keys to still work regardless if the game window was focused or not.
This thread cleared it and I recommend the great code done by Elringus that is very easily usable: