public void LockEntrance() { if (doorEntry != null) { doorEntry.Close(); } }
private void OnTriggerEnter(Collider other) { if (other.CompareTag("Player")) { door.Close(); } }
public void LockEntrance() { doorEntry.Close(); }