Пример #1
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.CompareTag("Player"))
     {
         l.Trap();
         r.Trap();
     }
 }