Пример #1
0
 private void OnCollisionEnter(Collision other)
 {
     if (other.gameObject.GetComponent <IBreakable>() == null)
     {
         return;
     }
     _needle.Lock();
 }