A helping script which saves all current colliders, colliding with the current object.
|
List< Collider > | GetAllCollisions (LayerMask layerMask) |
| Filters all current collisions with a layerMask.
|
|
List< Collider2D > | GetAllCollisions2D (LayerMask layerMask) |
| Filters all current 2D collisions with a layerMask.
|
|
List< Collider > | GetAllCollisions () |
| Returns all current colliders.
|
|
List< Collider2D > | GetAllCollisions2D () |
| Returns all current 2D colliders.
|
|
◆ GetAllCollisions() [1/2]
List< Collider > UnityToolbox.General.ColliderInfo.GetAllCollisions |
( |
| ) |
|
- Returns
- A list of current colliders.
◆ GetAllCollisions() [2/2]
List< Collider > UnityToolbox.General.ColliderInfo.GetAllCollisions |
( |
LayerMask |
layerMask | ) |
|
◆ GetAllCollisions2D() [1/2]
List< Collider2D > UnityToolbox.General.ColliderInfo.GetAllCollisions2D |
( |
| ) |
|
- Returns
- A list of current colliders.
◆ GetAllCollisions2D() [2/2]
List< Collider2D > UnityToolbox.General.ColliderInfo.GetAllCollisions2D |
( |
LayerMask |
layerMask | ) |
|