- Home /
Question by
UnityUser666 · Oct 09, 2013 at 01:38 AM ·
focus
I can draw a box, but input stops working when player doesn't have focus
I have a marquee selection tool and also input(GetKeyDown(), etc.) to toggle the mouse from making the selection box and controlling the camera. If I take focus away from player window and then come back to the window, I can drag a selection window with no problem, but the inputs don't work. However, if I click on the top part of the window, which seems to bring the player back into focus, the input works. Is there a way that I can make it so clicking anywhere on the window brings the player into focus?
Comment