- Home /
Detect mouse click even if unity game run in the background or if I click outside the unity game
Hi, as the title say, I want to make unity to detect a mouse click, even outside the unity game/editor (if I click on the desktop, it must work) or when the game run in the background (the user can continue to see the game with the VR headset) but I don't really know how other than we need user32.dll and/or other windows dll.
If someone can help or explain how to do, that could be awesome thanks in advance :)
Comment
Your answer
Follow this Question
Related Questions
How to detect if the Device can run the shader ? 0 Answers
Change controls from mouse to touch C# 1 Answer
Get OnMouseDown to work with a 2D Polygon Collider 2 Answers
Multiple Cars not working 1 Answer