How would I have this go true again after a certain amount of time?
var room : GameObject;
}
function start ()
room.SetActive(true);
function OnTriggerEnter (player : Collider){
if(player.tag == "Player")
yield WaitForSeconds(1.5); room.SetActive(false);
}
\\would another function update come in here?