doopposingsidesmatch - eisclimber/ExPresS-XR GitHub Wiki

Tile.DoOpposingSidesMatch(Tile,Vector2Int)

Method in Tile

Summary

Whether the this tile has the same areaId in one direction as the other tile in the other direction. Does not check if the tiles are actually touching on the board!

public bool DoOpposingSidesMatch(Tile other, Vector2Int checkDir)

Parameters

Name Description
ExPresSXR.Minigames.TileGame.Tile other Tile to check the connection to.
UnityEngine.Vector2Int checkDir Direction to check in.

Returns

If the tiles area adjacently connected.

⚠️ **GitHub.com Fallback** ⚠️