Пример #1
0
 void OnTriggerEnter(Collider other)
 {
     if (other.gameObject == player)
     {
         pItem.AddAbleToPickup(transform);
     }
 }