|
Hello, I want to hide the cursor as I am using a gamepad instead of mouse and keyboard. Would this code work for that: Screen.showCursor = false; and if so where show it go? I am really new, and have no experience coding (dont really know how i made it this far) Cheers, Sabrina
(comments are locked)
|
|
If you want to hide the cursor through the entire game you should add the "Screen.showCursor = false"-code inside the Start function ;) like so:
(in C#) or:
(in JavaScript)
(comments are locked)
|
|
ive never coded can some one tell me where to add this script or how to please If you are new watch and read a few guides, like http://forum.unity3d.com/threads/34015-Newbie-guide-to-Unity-Javascript-%28long%29
Mar 12 at 12:11 PM
yu-gi-master
Here is code to hide/show mouse with an explanation:
Mar 12 at 01:27 PM
DynamicPrgm
(comments are locked)
|
|
If you also want to hide the cursor AND lock it in the center of the screen, you should use
(comments are locked)
|
