Esempio n. 1
0
 private void SelectOnComplete(Collider[] collidersFound)
 {
     Selection.objects = collidersFound
         .Where(c => c != currentCollider)
         .Select(c => c.gameObject)
         .Cast<Object>()
         .ToArray();
 }