Does not exist in the current context

I have 2 questions;

A) what does this mean

B) how can I sort it out

Its a c-sharp script which I want to allow more sevsitive movement (camera looking) when you zoom in.

if (Scoping2.iszoomed == 0)
{
    sensitivityX = 15F;
    sensitivityY = 15F;
}
else if (Scoping2.iszoomed == 1)
{
    sensitivityX = 5F;
    sensitivityY = 5F;
}

  1. It should mean that either you haven't declared Scoping2, sensitivityX or sensitivityY in the code scope hierarchy. Maybe you have declared the variables in another method?

  2. You should fix your code so that your variables are declared within the same scope. Maybe you mis spelled something?

I could probably give more detailed help if you exposed the whole script, or at least the function and the variable declarations.

Hello,

Try this in your code.

using System;

or

System.DateTime