Although this may just be common sense, I assume this would probably at least help someone out there in the zeitgeist.
In PlayerInput.cs on lines 236 - 242
{
canMoveMouse = false;
Screen.lockCursor = true;
}
else
{
canMoveMouse = true;
Screen.lockCursor = false;
}
And on line 76-78
{
canMoveMouse = false;
Screen.lockCursor = true;
}
I find that Screen.lockCursor is alot more friendly for when testing in the editor, playing via unity webplayer, and for multi-monitor support.
Comments