When I call lockCursor, my cursor disappears but doesn't center (in the Editor). Why won't it center the mouse?
Thanks, Chad
When I call lockCursor, my cursor disappears but doesn't center (in the Editor). Why won't it center the mouse?
Thanks, Chad
I don't think it was designed to behave that way.
A good workaround is to hide it too, and then place a fake mouse or crosshair in the center of the screen. Then if you need mouse position, just check if Screen.lockCursor is true, and if it is, substitute for the center of the screen.