Quantcast
Channel: Answers by "Kleptomaniac"
Viewing all articles
Browse latest Browse all 90

Answer by Kleptomaniac

$
0
0
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

Viewing all articles
Browse latest Browse all 90

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>