As is said [here][1], it isn't possible to set the cursor position without external .dlls. Screen.lockCursor doesn't automatically set the position of the cursor to the centre of the screen, it only locks the position of the mouse at the *current* mouse position.
Also, Screen.lockCursor is already a boolean. There is no need to redeclare it as a boolean.
Hope that helps, Klep
[1]: http://answers.unity3d.com/questions/9408/set-cursor-position.html
↧