So im having a problem with the CursorLockMode.locked script.
When i do this:
void Start()
{
Cursor.lockState = CursorLockMode.locked;
}
I get this error: error CS0117: ‘CursorLockMode’ does not contain a definition for 'lock’ed
Can someone tell me why i get it and how i can fix this?
7472465–918362–MouseLook.cs (837 Bytes)