x


Hide and lock the mouse cursor (beginner)

Hi !

This is my firt post on Unity Answers

I would like to know how I can hide the mouse cursor AND lock it in the middle of the screen, and when the user press a key, it will display it but without making the camera movement (to click on all the GUI stuff)

I just know how to make the " Screen.showCursor = false; " :D

Thanks in advance, and sorry if you don't understand correctly, english isn't my first language :)

more ▼

asked Apr 13 '12 at 05:26 AM

AVLead gravatar image

AVLead
1 1 1

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

0 answers: sort voted first

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:

x982
x197
x125
x76
x10

asked: Apr 13 '12 at 05:26 AM

Seen: 450 times

Last Updated: Apr 13 '12 at 05:26 AM