Hi,
I made this scipt to activate an other gameobject.
Can someone tell me what I am doing wrong?
This is the scipt that I made:
function OnTriggerEnter (col : Collider) {
if(gameObject.name == "Cylinder" || test == 3)
{
other.gameObject.name == "wall"; {
other.gameObject.SetActive(true);
Application.LoadLevel (Application.loadedLevel + 1);
}
}