public static OverlapCircle ( Vector2 point, float radius, [ layerMask, [ minDepth, [ maxDepth ) : Collider2D | ||
point | Vector2 | Centre of the circle. |
radius | float | Radius of the circle. |
layerMask | [ | Filter to check objects only on specific layers. |
minDepth | [ | Only include objects with a Z coordinate (depth) greater than or equal to this value. |
maxDepth | [ | Only include objects with a Z coordinate (depth) less than or equal to this value. |
return | Collider2D |
Physics2D::OverlapCircle ( Vector2 point, float radius ) : Collider2D | |
Physics2D::OverlapCircle ( Vector2 point, float radius, int layerMask ) : Collider2D | |
Physics2D::OverlapCircle ( Vector2 point, float radius, int layerMask, float minDepth ) : Collider2D |