Bounds tilemap collider

Hi, I’m using to refresh gridgraph when I open a door, and runs perfect. The bounds_door are bounds of a collider2d (GetComponent().bounds)
But If I try same with a tilemapcollider ( (GetComponent().bounds)), it not runs. Do I have to do any extra steps?

Solved. I was using a composite collider, then I need this bounds.


1 Like