Struct JobConnectTilesSingle Extends IJob

Public

Connects two adjacent tiles together.

This only creates connections between tiles. Connections internal to a tile should be handled by JobCalculateTriangleConnections.

Public Methods

Execute ()

Public Variables

maxTileConnectionEdgeDistance

Maximum vertical distance between two tiles to create a connection between them.

Public
tileIndex1

Index of the first tile in the tiles array.

Public
tileIndex2

Index of the second tile in the tiles array.

Public
tileWorldSize

Size of a tile in world units.

Public
tiles

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

Public