doopposingsidesmatch - eisclimber/ExPresS-XR GitHub Wiki
Method in Tile
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)| Name | Description |
|---|---|
| ExPresSXR.Minigames.TileGame.Tile other | Tile to check the connection to. |
UnityEngine.Vector2Int checkDir |
Direction to check in. |
If the tiles area adjacently connected.