- Home /
Question by
Maurice · Sep 07, 2010 at 04:01 PM ·
playerwebplayerwebweb-player
Web Player Disable Mouse Look
Is there a way to disable the mouse look when the cursor leaves the web player area on a web page?
Comment
Answer by skovacs1 · Sep 10, 2010 at 10:56 PM
Sure. Why not?
You could write a script on your page which tells your web player to enable/disable the mouse look.
You could check your Input.mousePosition and if it is outside of the 0,0,Screen.width and Screen.height and disable your mouse look when it is or enable it when it isn't.
Your answer
Follow this Question
Related Questions
How to get the game data to the Web (webgl or webplayer) 1 Answer
web player overlays HTML layers 2 Answers
Unity Web Player administrator privileges 0 Answers
Error installing WebPlayer 1 Answer
Failed to Update Unity Web Player on multiple browsers 0 Answers