getareaconnections - eisclimber/ExPresS-XR GitHub Wiki
Method in Tile
Returns an array containing true if there is a connection from dir to the direction.
The order of entries is: [center, up, down, left, right].
public bool[] GetAreaConnections(Vector2Int dir, bool considerSelfConnected = true)| Name | Description |
|---|---|
UnityEngine.Vector2Int dir |
Dir to check. |
bool considerSelfConnected |
If connections to the same direction are considered connected. |
Array of bools if a connection area exists.