Type
TileCompOpt
: {isObstacle
?: booleanIf the tile is an obstacle in pathfinding.
cost
?: numberHow much a tile is cost to traverse in pathfinding (default 0).
edges
?: Edge[]If the tile has hard edges that cannot pass in pathfinding.
offset
?: Vec2Position offset when setting tilePos
.
Options for the tile component.
group
Component Types