I’ve a script, that can open and shut a door. I’ve created two doors; one open or one shutted. I would that so i hit the door, the shutted door go way. Or if i have the objects defined by the tags,i type:
doorshut.visible = false;
dooropen.visible = true;
Or the console says:Visible is not a member of unityengine.gameobject 2x
Can anyone help me?
greetz,
baseldekker[/code]