Function JobConnectTiles.ScheduleBatch

ScheduleBatch (System.Runtime.InteropServices.GCHandle tilesHandle, JobHandle dependency, IntRect tileRect, Vector2 tileWorldSize, float maxTileConnectionEdgeDistance)

Schedule jobs to connect all the given tiles with each other while exploiting as much parallelism as possible.

Public Static
JobHandle ScheduleBatch (

System.Runtime.InteropServices.GCHandle

tilesHandle

JobHandle

dependency

IntRect

tileRect

Vector2

tileWorldSize

float

maxTileConnectionEdgeDistance

)

Schedule jobs to connect all the given tiles with each other while exploiting as much parallelism as possible.

tilesHandle should be a GCHandle referring to a NavmeshTile[] array of size tileRect.Width*tileRect.Height.