func SphereOverlap(radius float, center Vector3, layerMask List<int>, includeTrigger bool, out var hitEntities List<entity<Entity>>)
go
| Name |
Type |
Description |
| Radius |
Float |
Spherical region radius, only positive values are accepted |
| Center |
Vector3 |
Center point of spherical area |
| Layer Mask |
ListT_int |
Layer mask, only the filled layers will participate in the scan, leaving it blank means all layers will participate in the scan |
| Include Trigger |
Bool |
Whether the trigger can be detected |
| Name |
Type |
Description |
| Hit Entities |
ListT_Entity |
List of entities hit |