Unity Set Mouse Cursor Lock
Cursor.lockState = CursorLockMode.Locked;
Frail Flamingo
Cursor.lockState = CursorLockMode.Locked;