Function NavmeshPrefab.SnapSizeToClosestTileMultiple
SnapSizeToClosestTileMultiple
(RecastGraph graph)
Rounds the size of the bounds to the closest multiple of the tile size in the graph, ensuring that the bounds cover at least 1x1 tiles.
Public
SnapSizeToClosestTileMultiple
(RecastGraph graph, Bounds bounds)
Rounds the size of the bounds to the closest multiple of the tile size in the graph, ensuring that the bounds cover at least 1x1 tiles.
Public
Static