- Home /
Question by
TheBoredMan5 · Jul 31, 2014 at 06:26 AM ·
screencursorlock-cursor
Is it possible to lock a cursor without hiding it??
I know by default when you use "Screen.lockCursor = true;" it automatically locks and hides the cursor. But is it possible to lock it to the center of the screen without hiding it?
I already tried this but it didn't work..
#pragma strict
function Start ()
{
Screen.lockCursor = true;
Screen.showCursor = true;
}
I'd appreciate any support, thank you!
Comment
you can take a look on a similar thread: http://answers.unity3d.com/questions/262517/lock-cursor-on-the-center-of-screen.html