im somewhat new to javascript so i need some help please.
error im getting: Unexpected token: &&
Here is what im scripting:
if (ColgameObject.tag == "Hide")
{
//Stopping going through the floor by changing var, wait until they are out to make hid_ready = true
if (hidden == false) && (hid_ready == false)
{
hid_ready = true;
hidden = true;
transform.localPosition = Vector3(0, -0.5, 0);
//Adding a hiding script
}
}