Hi,i want script removes when player is in trigger,but how? Here is my script,its unfinished,i dont know what to do next,so please help.
function OnTriggerEnter (other : Collider) {
if (other.tag == "Player"){
GameObject.Find ("Wall").GetComponent("FixedJoint");
}
}