Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Cursor.lockState = CursorLockMode.Locked cursor is not locked to the center

Discussion in 'Unity 5 Pre-order Beta' started by ng-pixels, Jan 18, 2015.

  1. ng-pixels

    ng-pixels

    Joined:
    Dec 29, 2012
    Posts:
    68
    Hi,
    I can not lock the cursor to the center of the screen. Cursor is locked but its position is still a little above the center of the screen.
    I use Cursor.lockState = CursorLockMode.Locked
     
    alero3 likes this.
  2. ng-pixels

    ng-pixels

    Joined:
    Dec 29, 2012
    Posts:
    68
    Nobody?