Skip to content

Commit

Permalink
Merge pull request #18 from TurboWafflz/patch-1
Browse files Browse the repository at this point in the history
Change CursorLockMode to Locked instead of Confined
  • Loading branch information
marian42 committed Mar 28, 2021
2 parents b137262 + d5bb887 commit 8750c53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Code/CameraControl/ControlModeSwitcher.cs
Expand Up @@ -17,7 +17,7 @@ public class ControlMode {

void Start() {
Cursor.visible = false;
Cursor.lockState = CursorLockMode.Confined;
Cursor.lockState = CursorLockMode.Locked;
if (this.ControlModes.Any()) {
this.SetMode(this.ControlModes[0]);
}
Expand Down

0 comments on commit 8750c53

Please sign in to comment.