Unity Collider.Bounds.Contains for 2d Polygon Collider

Hi Friends,

I am trying to detect if a point is within a 2d polygon mesh collider. I’ve tried using collider.bounds.contains, however I’ve noticed that this
seems to create a square around the mesh instead of using the actual mesh boundaries.

This doesn’t work for me because I am using a polygon collider, and have a shape that is not a square. Is there a .bounds for polygons that I can use?

Thanks

Basically there is collider.OverlapPoint(Vector2) that does just this.