This is my complete code, can someone help me.
public float rotationSpeed;
public Transform target, player;
float mouseX, mouseY;
void Start()
{
Cursor.visible = false;
Cursor.lockState = CursorLockMode; ;
}
void LateUpdate()
{
cameraControl();
}
Assets\ThirPersonCamerController.cs(14,28): error CS0119: 'CursorLockMode' is a type, which is not valid in the given context
You need to pick a lock mode:
Your choices are
None
,Locked
, andConfined
, butLocked
seems to best fit your needs. See the Unity reference at https://docs.unity3d.com/ScriptReference/CursorLockMode.html