OverlapPoint(Vector2)
Check if a collider overlaps a point in space.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public bool OverlapPoint(Vector2 point)
Parameters
A point in world space.
Returns
Type | Description |
|---|---|
| bool | Does |
Remarks
This will always return false when used on an EdgeCollider2D.