UCE0001 and BCE0044 Errors

#pragma strict
var lookSensitivity : float = 5;
var yRotation : float;
var xRotation : float;
var Current XRotation : float;
var Current YRotation : float;
var yRotationV : float;
var xRotationV : float;
var lookSmoothness : float = 0.1;

function Update ()
    yRotation += Input.GetAxis("Mouse X") * looksensitivity;
    xRotation += Input.GetAxis("Mouse Y") * looksensitivity;
    transform.rotation = Quaternion.Euler(xRotation, yRotation, 0);

i got 2 problems first is UCE0001 expected.insert a semicolon at the end. and
BCE0044 expected EOF,found’XRotation’

im a complete beginner in programming can you guys please help me solve this?

  1. Remove Space From variables Current XRotation and Current YRotation
  2. And in Update method in looksensitivity “s” is capital…

Hope You Are Looking For This … :slight_smile: