x


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?

more ▼

asked Sep 07 '10 at 04:01 PM

Maurice gravatar image

Maurice
1 1 1 1

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

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.

more ▼

answered Sep 10 '10 at 10:56 PM

skovacs1 gravatar image

skovacs1
10k 11 25 91

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x814
x808
x212
x20

asked: Sep 07 '10 at 04:01 PM

Seen: 1517 times

Last Updated: Sep 07 '10 at 04:01 PM