i have this bit of code
void Update () {
if (gear = 1 )
rlight1.enabled = true;
rlight2.enabled = true;
else if (gear > 1 )
rlight1.enabled = false;
rlight2.enabled = false;
}
and have the variables set up, but it's telling me to put a semicolon on this line :
else if (gear > 1 )
waht is happening and how do i fix it?