Skip to content

Commit

Permalink
Set CursorLockMode to Locked
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Apr 19, 2016
1 parent fbfee57 commit 400dee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/PlayerController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class PlayerController : MonoBehaviour {

float playerHeight;

const CursorLockMode cursorLockModeHidden = CursorLockMode.Confined;
const CursorLockMode cursorLockModeHidden = CursorLockMode.Locked;
const CursorLockMode cursorLockModeVisible = CursorLockMode.None;

// Lol
Expand Down

0 comments on commit 400dee8

Please sign in to comment.