that is what pops up when i was done with scripting my camera script idk how to fix this can someone help me?
This is pretty straight forward. You are calling LockState on Cursor but cursor does not provide this method.
You now got to go to the cursor class and take a look if a method exists which which you could use instead.
Or maybe your cursor has the wrong class to begin with.
Close! Just one capitalized letter off https://docs.unity3d.com/ScriptReference/Cursor-lockState.html
1 Like