Question about MapCollider2D
I am currently implementing Field of View algorithm in my top-down 2D game.
I have a circle that casts raycasts all around its center and when raycast is intersected with a collider then the script would add this Collider to the Collider list which would be used to only draw hit colliders.
This works fine but it only finds one collider as a whole tilemap (this green line is pointing towards the origin of the Tilemap as it should point to all tiles within the circle)
Second image shows a grid of all colliders within the circle that this green line should point to
Is there a way to access each of invidual square colliders visible on the second image?
![A](https://koobas.hobune.stream/wayback/20220612161953im_/https://answers.unity.com/storage/temp/116145-unity2.png)
unity2.png
(227.2 kB)
unity1.png
(346.6 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612161953im_/https://answers.unity.com/themes/thub/images/avi.jpg)