Einheit überlappt Fasheronalloc
int maxColliders = 10; // detected objects limit
Collider[] hitColliders = new Collider[maxColliders];
int numColliders = Physics.OverlapSphereNonAlloc(center, radius, hitColliders);
for (int i = 0; i < numColliders; i++)
{
hitColliders[i].DoSomething();
}
Doge Amazedo