Quantcast
Channel: Latest Questions by alexkaskasoli
Viewing all articles
Browse latest Browse all 56

Screen.lockCursor mystery?

$
0
0
I'm using this simple code on my custom FPS character controller: void Start() { // Lock Cursor Screen.lockCursor = true; } I just want the mouse cursor to stay frozen where it is (ie: always in the center of the screen). I can not understand why the above doesn't work. It has literally no effect on the mouse cursor, I get the same with or without it.

Viewing all articles
Browse latest Browse all 56

Trending Articles



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