CodePudding user response:
No one know, or met, code with Cursor. Visibke=true; Can display the cursor but still fixed in the middle of the screen,CodePudding user response:
After unity5 Screen. LockCursor=true this API abandoned,Use Cursor material instead,
Screen lock: the mouse Cursor. LockState=CursorLockMode. Locked;
Unlock screen mouse: Cursor. LockState=CursorLockMode. None;
Hope to adopt