Ejemplo n.º 1
0
 public void LockEntrance()
 {
     if (doorEntry != null)
     {
         doorEntry.Close();
     }
 }
Ejemplo n.º 2
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.CompareTag("Player"))
     {
         door.Close();
     }
 }
Ejemplo n.º 3
0
 public void LockEntrance()
 {
     doorEntry.Close();
 }