Hey Folks ![]()
I got a small problem with my collider. This is my code:
function OnTriggerStay(other : Collider)
{
If(collider.gameObject.tag == "Player" || collider.gameObject.tag == "stone")
{
Switch = true;
}
Unity is giving me this error message:
“Assets/buttonNU.js(37,56): UCE0001: ‘;’ expected. Insert a semicolon at the end.”
Do you know where my mistake is?
Cheers!
Dawnreaver